summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/standalone.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/standalone.gypi b/build/standalone.gypi
index 536c255b55..72975bc20e 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': [