| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`CHECK_CFLAG` / `CHECK_LDFLAG` overwrote `CFLAGS`/`LDFLAGS` with only
the flag under test, so feature detection ran with a different target
than the real build.
For example `CFLAGS=-march=i586 ./configure` accepted
`-fcf-protection=full` (detected under the toolchain's i686 default)
but then failed to compile because GCC 15 rejects `-fcf-protection` on
i586.
Prepend `$USER_CFLAGS` / `$USER_LDFLAGS` (saved before `AC_PROG_CC`)
to the detection command so the probe matches the real build.
Fixes #1268
|
| | |
|
| |
|
|
|
|
|
|
| |
This reverts commit 48d4157f99c00a1180db5298385d396ef840adda.
because it didn't trim whitespace and doesn't look right.
Pointed out by @vszakats in
https://github.com/libressl/portable/pull/1165#pullrequestreview-3148582342
|
| |
|
| |
Co-authored-by: Theo Buehler <botovq@users.noreply.github.com>
|
| | |
|
| | |
|
| |
|
|
|
|
| |
These are portable implementations from NetBSD that are needed on
Windows and perhaps some other platforms with the new versions of
the mlkem tests.
|
| | |
|
| |
|
|
|
|
|
|
| |
There's a lot of new Unix-like operating systems out that that might
port LibreSSL (my Sortix is among them) and they all use ELF. If the
operating system doesn't use ELF or isn't an Unix, it doesn't have a
chance at working out of this box anyway, and this change makes
LibreSSL work on a generic and sufficiently featured POSIX system.
|
| |\ |
|
| | |
| |
| |
| |
| | |
Since it is mingw specific and does not really
involve other compilers.
|
| | | |
|
| |/
|
|
|
| |
Now that all uses of gmtime_r() and timegm() have been converted to
OPENSSL_gmtime() and OPENSSL_timegm(), this is no longer needed.
|
| | |
|
| |\ |
|
| | | |
|
| |/ |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
This adds a getopt implementation for compatibility where it is not
available, removing a couple of regress patches.
Note, this is a slightly modified copy from OpenBSD libc that doesn't
expose getopt_long, which has dependency conflicts with Windows system
headers and isn't needed anyway.
|
| | |
|
| |
|
|
| |
fix latest round of autotool complaints
|
| | |
|
| |
|
|
|
|
|
|
| |
Compiler switch -mlp64 (GCC) or +DD64(HP CC) gives build failure with
platform HP-UX other than IA-64.
This avoids build break on HP-UX with PA-RISC platform.
Suggested from Larkin Nickle (me <at> larbob org) by libressl ML.
|
| |
|
|
|
| |
Move machine/endian.h to endian.h, use AC_HEADER_RESOLV over individual
header checks, and include prerequisites for netinet/ip.h check.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The arpa/nameser.h, netinet/ip.h, and resolv.h headers are not crucial
to building LibreSSL. The netinet/ip.h header is used in nc(1) for
optional IPTOS_ features that can be ifdef'd on systems without support.
The endian.h header is the upcoming standard header and should be used
whenever available and correct. The machine/endian.h header is
non-standard and doesn't have to exist on POSIX systems.
Fix the check for getpagesize(3) not forward declaring the function,
such that CFLAGS with -Werror=implicit-function-declaration doesn't
cause the check to fail.
|
| | |
|
| |
|
|
|
| |
- Link libssp to resolve undefined reference __memcpy_chk
- Disable dtlstest since mingw does not have poll
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
This is broken on some platforms, so pull in the conditional macro from
the latest version of autoconf-archive to test for working support.
|
| | |
|
| |
|
|
|
| |
- Use thread and sleep instead of signal and alarm, on win32
- Disable -multi option on win32 since fork is hard to implement
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
On Linux, bionic and musl for instance do not need libpthread. With
bionic, there is not even a stub library for compatibility.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
- Revert commit https://github.com/libressl-portable/portable/pull/327/commits/c18852f650a3cb258e10222695a31ed5c929ab23
- Remove -m64 from CMakeLists.txt by commit https://github.com/libressl-portable/portable/commit/08089a1b20a1818538670d641242266ed3185814
- Suggested by @andy-js in conversation https://github.com/libressl-portable/portable/pull/327
|
| | |
|
| |
|
|
|
|
| |
- define _GNU_SOURCE in case of cygwin
As compilation warning report by @Dravion
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
we currently do it at configure time, which makes this a generated
source, but generated sources should be cleaned up, which breaks
'make clean; make'
|