| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
FreeBSD's libc has a stub implementation of pthread_once() that returns
ENOSYS and doesn't seem to call the init routine. You need to link with
pthread for this to work. This PR does this and fixes regress failures
for CMake builds on this platform. This likely never worked.
|
|
|
|
|
|
| |
As of CMake 3.20, this causes the files to be built _as_ C, instead of
just with a C compiler. This also properly specifies the languages in
the project call.
|
| |
|
| |
|
|
|
|
| |
This reverts commit 5feccf86658d09b917c005bfb43191dd38f38c83.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
There are a few exceptions. Some require _GNU_SOURCE, some are in the
weird strings.h header, some are probably too new to be found in the
standard locations.
Fixes #1077
|
|\ \ |
|
| |/ |
|
|/ |
|
|
|
|
| |
Follow-up to e99a7dd931065e4b3535cb3e2e8bee8c3db0afaf #1075
|
| |
|
|
|
|
| |
The code here defined HOST_PPC64, but the rest of the build system expects HOST_POWERPC64.
|
|
|
|
| |
strlcpy and strlcat Emscripten implementations cause ASAN errors. This commit disables strlcpy and strlcat detection and uses the compat implementations instead.
|
|
|
|
|
| |
Now that all uses of gmtime_r() and timegm() have been converted to
OPENSSL_gmtime() and OPENSSL_timegm(), this is no longer needed.
|
|
|
| |
Co-authored-by: Viktor Szakats <vszakats@users.noreply.github.com>
|
|
|
| |
Collapse the same if condition blocks into one block. Include the uninstall rule when building install rules; if there was no install, shouldn't need uninstall (for this build; a previous build that was installed would have an uninstall rule)
|
|
|
|
|
|
|
|
|
|
|
| |
Before this patch `NDEBUG` was force-disabled, preventing a build with
debug asserts disabled.
After this patch `NDEBUG` works again when passed as a custom build
option, e.g.: `-DCMAKE_C_FLAGS=-DNDEBUG`
Previously submitted as #988, which was merged, but the commit vanished
from master and ended up missing from both 3.8.3 and 3.9.0 releases.
|
|\ |
|
| |
| |
| |
| |
| | |
With ASM support the builds either exit with an assert or hang
(with asserts disabled).
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Visual studio does not define __BYTE_ORDER__ so all architectures
were detected as LITTLE_ENDIAN since both __BYTE_ORDER__ and
__ORDER_LITTLE_ENDIAN__ would evaluate to 0 and compare equal. This
updates the checks to use CMakes detection of endianness, with a hard
error, if this also fails.
|
|/
|
|
|
| |
As it enables a lot of spammed warnings that are not part of W4. This
reduces the warnings a lot when compiling LibreSSL in CLion for me.
|
| |
|
|
|
|
|
|
| |
Syncing this up with autotools.
Also use the built-in `MINGW` variable.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Notice that just like in autotools, this detection also doesn't take
into account the targeted OS version. Meaning it detects `strtonum` even
if targeting e.g. macOS older than release v11 Big Sur (which introduced
this funcitions), if the SDK declares it. Wrong detection will either
cause a binary broken on older macOS and/or trigger compiler warnings.
Ref: https://github.com/libressl/portable/issues/928#issuecomment-1850178282
Ref: https://github.com/libressl/portable/issues/928#issuecomment-1850276298
Prerequisite:
https://github.com/libressl/portable/issues/928#issuecomment-1850356408
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This makes it accept values consistently. Before this patch
mingw-w64, Apple and SunOS did not accept a CPU if it had
a suffix or prefix (e.g. a triplet), while other targets did.
|
| | |
|
|/
|
|
|
|
|
|
| |
- `-DCPPFLAGS`: probably a copy-paste typo from the initial CMake
commit.
- `-DNO_CRYPT`: `NO_CRYPT` is no longer used in the source and this
macro is no longer set by autotools.
|
|
|
|
|
| |
Reported here:
https://github.com/libressl/portable/pull/935#issuecomment-1798345787
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of including a full copy of libcrypto and libssl in
libtls-static, link existing libcrytpo-static and libssl-static to
the test targets.
This wasn't causing any issue, just unnecessarily duplicating
a lot of objects.
|
|/ |
|
| |
|
|
|
|
| |
2022's preprocessor
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
| |
This allows users to install the CMake configs without forcing a
`LibreSSL` directory after `LIBRESSL_INSTALL_CMAKEDIR`.
|
|
|
|
|
|
|
|
| |
The configs can be consumed by setting LibreSSL_DIR to the build
directory, or after installation using CMAKE_PREFIX_PATH/LibreSSL_DIR.
For compatibility, the EXPORT_NAME of targets and the LIBRESSL_*
variables are set to match the names used in FindLibreSSL.
|
|\ |
|
| | |
|
| | |
|
|/ |
|