diff options
Diffstat (limited to 'backend/ninja')
-rw-r--r-- | backend/ninja/Ninja.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 9ec12d3..8b92af1 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -397,7 +397,8 @@ namespace backend ninja::NinjaArg::createRaw("-g3"), ninja::NinjaArg::createRaw("-D_FORTIFY_SOURCE=2"), ninja::NinjaArg::createRaw("-D_GLIBCXX_ASSERTIONS"), - ninja::NinjaArg::createRaw("-fasynchronous-unwind-tables") + ninja::NinjaArg::createRaw("-fasynchronous-unwind-tables"), + ninja::NinjaArg::createRaw("-D_DEBUG") }; } case OPT_LEV_RELEASE: @@ -419,7 +420,9 @@ namespace backend { return { ninja::NinjaArg::createRaw("/Od"), - ninja::NinjaArg::createRaw("/MTd") + ninja::NinjaArg::createRaw("/Zi"), + ninja::NinjaArg::createRaw("/MTd"), + ninja::NinjaArg::createRaw("/D_DEBUG") }; } case OPT_LEV_RELEASE: |