aboutsummaryrefslogtreecommitdiff
path: root/backend/ninja
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-23 00:44:40 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-23 00:44:40 +0200
commitd11d0f480675ad95897c01473cfaad9ecd14e1a9 (patch)
treec7917b6f9f1e0b41e4d15817d466c157c494de4a /backend/ninja
parent4aaeaea1d7c16fe12194c1d78214de34879645a4 (diff)
Remove stack clash protection and fcf protection for debug builds because of false positives in standard library?
Diffstat (limited to 'backend/ninja')
-rw-r--r--backend/ninja/Ninja.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp
index 54b86d1..380460b 100644
--- a/backend/ninja/Ninja.cpp
+++ b/backend/ninja/Ninja.cpp
@@ -388,7 +388,7 @@ namespace backend
ninja::NinjaArg::createRaw("-D_GLIBCXX_ASSERTIONS -Wformat -Werror=format-security"),
ninja::NinjaArg::createRaw("-fasynchronous-unwind-tables"),
ninja::NinjaArg::createRaw("-D_DEBUG -D_GLIBCXX_DEBUG"),
- ninja::NinjaArg::createRaw("-fno-omit-frame-pointer -fstack-clash-protection -fcf-protection"),
+ ninja::NinjaArg::createRaw("-fno-omit-frame-pointer"),
};
if(config.use_lto)
result.push_back(ninja::NinjaArg::createRaw("-flto"));