aboutsummaryrefslogtreecommitdiff
path: root/backend/ninja
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-03-01 21:18:11 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commite592041f16d34495ba1146705adfb848f80a2a0d (patch)
tree1096442564ebb5f30e247d2e380ba57a36f45485 /backend/ninja
parent95fa2a46519d0820548ab7855b32182ff81f0435 (diff)
Remove fortify source, it can only be used for optimized builds anyways
Diffstat (limited to 'backend/ninja')
-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")
};
}
}