From 5da97660123b131f6bbec28f3c19576e48856022 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 23 Aug 2021 01:00:12 +0200 Subject: Remove real cause of false positives --- backend/ninja/Ninja.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend/ninja') 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")); -- cgit v1.2.3