aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-11-17 09:43:01 +0800
committerfanquake <fanquake@gmail.com>2021-11-17 16:12:47 +0800
commit0445e1a1a5064ed954b1d2fbae626bfcd7b5c928 (patch)
treedaf4b64e6dec779bd90578efaf00cdc600c4baab
parent398fd63356db9023665396c371d67a8c76edeb4d (diff)
build: use -fcf-protection=full when building Windows Boost in depends
-rw-r--r--depends/packages/boost.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/depends/packages/boost.mk b/depends/packages/boost.mk
index ab29742b55..5fe2b2bbb8 100644
--- a/depends/packages/boost.mk
+++ b/depends/packages/boost.mk
@@ -27,6 +27,7 @@ $(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
endef
define $(package)_preprocess_cmds