From d11d0f480675ad95897c01473cfaad9ecd14e1a9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 23 Aug 2021 00:44:40 +0200 Subject: Remove stack clash protection and fcf protection for debug builds because of false positives in standard library? --- backend/ninja/Ninja.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/ninja') 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")); -- cgit v1.2.3