diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-04-05 07:32:28 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-04-05 07:34:13 +0200 |
commit | 9333730db8b0293cccee31b5b5c7045ed36fb9f9 (patch) | |
tree | 30a0f710ecf16139e217f043a8f052dfd3d10bcb /backend | |
parent | e59d08b33daca53a53e44e0705db3e5d2fcc2817 (diff) |
Oops.. optimizations disabled by default in release mode
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 34fe6e7..ace95d9 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -459,9 +459,9 @@ namespace backend case OPT_LEV_RELEASE: { if(config.use_flto) - return { ninja::NinjaArg::createRaw("-O3 -g0 -DNDEBUG -flto") }; + return { ninja::NinjaArg::createRaw("-O3 -g0 -DNDEBUG -flto") }; else - return {}; + return { ninja::NinjaArg::createRaw("-O3 -g0 -DNDEBUG") }; } } break; |