aboutsummaryrefslogtreecommitdiff
path: root/backend/ninja
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-04-24 21:20:28 +0200
committerdec05eba <dec05eba@protonmail.com>2018-04-24 21:20:33 +0200
commit4fcbc7f053d4af45d0757f1d7fe693ac6375b49f (patch)
tree04dfc13adc15988430e2a760078d499013840e77 /backend/ninja
parentc1c566c2f09a573318dd29cc67483154ca8c1146 (diff)
Add glibcxx debug flag when running debug mode gcc
Diffstat (limited to 'backend/ninja')
-rw-r--r--backend/ninja/Ninja.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp
index 6b013c4..3d8731b 100644
--- a/backend/ninja/Ninja.cpp
+++ b/backend/ninja/Ninja.cpp
@@ -631,7 +631,7 @@ namespace backend
{
case Compiler::GCC:
{
- optimizationFlags = "'-O0'";
+ optimizationFlags = "'-O0' -D_GLIBCXX_DEBUG";
break;
}
case Compiler::MSVC: