bitcoin/cmake
Vasil Dimov 1ef9f7ca4a
build: enable libc++ and libstdc++ hardening
When `ENABLE_HARDENING` is `ON` (which is the default), then enable
light or full hardening in libc++ or libstdc++, depending on the
library used and depending on the build type.

Remove hardening flags from `depends/hosts/linux.mk` in favor of the
more generic way to enable them via CMake. The same would be achieved
after this change by
`cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_HARDENING=ON`.

Inspired by
https://github.com/bitcoin/bitcoin/issues/31272#issuecomment-2518700939
2025-01-06 15:35:08 +01:00
..
module Merge bitcoin/bitcoin#31231: cmake: Fix IF_CHECK_PASSED option handling 2024-12-06 10:15:56 +00:00
script build: Use character literals for generated headers to avoid narrowing 2024-12-20 14:37:31 +01:00
bitcoin-build-config.h.in cmake, refactor: Move HAVE_EVHTTP_... to libevent interface 2024-11-06 15:40:42 +00:00
ccache.cmake build: Unify -logsourcelocations format 2024-11-04 11:30:43 +00:00
cov_tool_wrapper.sh.in cmake: Add Coverage and CoverageFuzz scripts 2024-08-16 21:19:12 +01:00
crc32c.cmake cmake: Build crc32c static library 2024-08-16 19:27:37 +01:00
introspection.cmake build: enable libc++ and libstdc++ hardening 2025-01-06 15:35:08 +01:00
leveldb.cmake cmake: Build leveldb static library 2024-08-16 19:27:38 +01:00
minisketch.cmake cmake: Build minisketch static library 2024-08-16 19:27:38 +01:00
tests.cmake cmake: Add Python-based tests 2024-08-16 19:27:41 +01:00