aboutsummaryrefslogtreecommitdiff
path: root/depends/packages
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-10-15 15:35:32 +0800
committerfanquake <fanquake@gmail.com>2022-01-04 22:45:44 +0800
commite13f8f775d9e8da04db0e072040d11237c5d1089 (patch)
tree5b316efe2f94206765be9b3dc248d1120144bd93 /depends/packages
parent6ca5efa8ed1ed9d5978bed0baf3c63dc2d406ec5 (diff)
build: build x86_64 Linux Boost with -fcf-protection=full
This is required so that we can test for control flow in our ELF security checks. Otherwise test_bitcoin will fail, as it has a main that is provided by Boost, and wont have been built with -fcf-protection=full. While here simplify to using -fcf-protection for all x86_64 builds.
Diffstat (limited to 'depends/packages')
-rw-r--r--depends/packages/boost.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/depends/packages/boost.mk b/depends/packages/boost.mk
index 5fe2b2bbb8..fe2425ffaf 100644
--- a/depends/packages/boost.mk
+++ b/depends/packages/boost.mk
@@ -26,8 +26,7 @@ $(package)_config_libraries=filesystem,system,test
$(package)_cxxflags+=-std=c++17
$(package)_cxxflags_linux=-fPIC
$(package)_cxxflags_android=-fPIC
-$(package)_cxxflags_x86_64_darwin=-fcf-protection=full
-$(package)_cxxflags_mingw32=-fcf-protection=full
+$(package)_cxxflags_x86_64=-fcf-protection=full
endef
define $(package)_preprocess_cmds