Index: build/standalone.gypi |
diff --git a/build/standalone.gypi b/build/standalone.gypi |
index 7dbbe1100ef0121f38cf637f46347ddb75814aeb..6db55794845a979203cc634965d600a607fec520 100644 |
--- a/build/standalone.gypi |
+++ b/build/standalone.gypi |
@@ -99,6 +99,12 @@ |
'xcode_settings': { |
'GCC_OPTIMIZATION_LEVEL': '0', # -O0 |
}, |
+ 'conditions': [ |
+ ['OS=="linux"', { |
+ # Enable libstdc++ debugging to help catch problems early. |
+ 'defines': ['_GLIBCXX_DEBUG=1',], |
+ }], |
+ ], |
}, |
'Release': { |
'cflags': [ |