Index: build/standalone.gypi |
diff --git a/build/standalone.gypi b/build/standalone.gypi |
index 536c255b5571a57cdc8f50d0fc1688e110b5d91b..72975bc20e61e0e46422ed2150462e71851bd9bb 100644 |
--- a/build/standalone.gypi |
+++ b/build/standalone.gypi |
@@ -100,6 +100,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': [ |