Use _GLIBCXX_DEBUG in standalone Debug builds on Linux.
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1588643003 .
diff --git a/build/standalone.gypi b/build/standalone.gypi
index 7dbbe11..6db5579 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': [