aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/ninja/Ninja.cpp7
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: