bitcoin/depends/hosts
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
..
darwin.mk build: Bump minimum supported macOS to 13.0 2024-10-15 10:18:48 +01:00
default.mk depends: Amend handling flags environment variables 2024-08-16 21:19:10 +01:00
freebsd.mk depends: add -g to *BSD_debug flags 2024-12-10 15:20:46 +00:00
linux.mk build: enable libc++ and libstdc++ hardening 2025-01-06 15:35:08 +01:00
mingw32.mk depends: target Windows 10 when building for mingw-w64 2024-11-08 13:32:37 +00:00
netbsd.mk depends: Fix CXXFLAGS on NetBSD 2024-12-14 20:32:38 +00:00
openbsd.mk depends: add -g to *BSD_debug flags 2024-12-10 15:20:46 +00:00