mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
build: build Boost with -fcf-protection when targeting Darwin
The LLVM Clang we use for cross-compilation supports this option, and it's expected that any builders on macOS will also be using an Apple Clang that supports it.
This commit is contained in:
parent
5925f1e652
commit
469a5bc4fa
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ $(package)_config_libraries=filesystem,system,test
|
|||
$(package)_cxxflags=-std=c++17 -fvisibility=hidden
|
||||
$(package)_cxxflags_linux=-fPIC
|
||||
$(package)_cxxflags_android=-fPIC
|
||||
$(package)_cxxflags_darwin=-fcf-protection=full
|
||||
endef
|
||||
|
||||
define $(package)_preprocess_cmds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue