diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-08-23 01:00:12 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-08-23 01:00:12 +0200 |
commit | 5da97660123b131f6bbec28f3c19576e48856022 (patch) | |
tree | 1d6818f9b199041780e641f603f85e77a42f65d2 /backend | |
parent | d11d0f480675ad95897c01473cfaad9ecd14e1a9 (diff) |
Remove real cause of false positives
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ninja/Ninja.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 380460b..08ef41d 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -387,8 +387,8 @@ namespace backend ninja::NinjaArg::createRaw("-O0 -g3"), 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"), + ninja::NinjaArg::createRaw("-D_DEBUG"), + ninja::NinjaArg::createRaw("-fno-omit-frame-pointer -fstack-clash-protection -fcf-protection"), }; if(config.use_lto) result.push_back(ninja::NinjaArg::createRaw("-flto")); |