aboutsummaryrefslogtreecommitdiff
path: root/backend/ninja/Ninja.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/ninja/Ninja.cpp')
-rw-r--r--backend/ninja/Ninja.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp
index 1dc15e2..c231355 100644
--- a/backend/ninja/Ninja.cpp
+++ b/backend/ninja/Ninja.cpp
@@ -414,7 +414,6 @@ namespace backend
{
return {
ninja::NinjaArg::createRaw("-O0 -g3"),
- ninja::NinjaArg::createRaw("-D_FORTIFY_SOURCE=2"),
ninja::NinjaArg::createRaw("-D_GLIBCXX_ASSERTIONS"),
ninja::NinjaArg::createRaw("-fasynchronous-unwind-tables"),
ninja::NinjaArg::createRaw("-D_DEBUG"),
@@ -424,9 +423,7 @@ namespace backend
case OPT_LEV_RELEASE:
{
return {
- ninja::NinjaArg::createRaw("-O2"),
- ninja::NinjaArg::createRaw("-g0"),
- ninja::NinjaArg::createRaw("-DNDEBUG")
+ ninja::NinjaArg::createRaw("-O2 -g0 -DNDEBUG")
};
}
}