From 4fcbc7f053d4af45d0757f1d7fe693ac6375b49f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 24 Apr 2018 21:20:28 +0200 Subject: Add glibcxx debug flag when running debug mode gcc --- backend/ninja/Ninja.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3