forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 bitcoin#31272 (comment)
- Loading branch information
Showing
3 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters