From e592041f16d34495ba1146705adfb848f80a2a0d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 1 Mar 2019 21:18:11 +0100 Subject: Remove fortify source, it can only be used for optimized builds anyways --- backend/ninja/Ninja.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'backend') 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") }; } } -- cgit v1.2.3