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.
pull/826/head
fanquake 3 years ago
parent 6ca5efa8ed
commit e13f8f775d
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

@ -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

Loading…
Cancel
Save