Index: build/standalone.gypi |
diff --git a/build/standalone.gypi b/build/standalone.gypi |
index aee7832c2d9130d77dc9d38ac6389153890afad4..61d83501503a4d0ce4a273a55db7a760497470fd 100644 |
--- a/build/standalone.gypi |
+++ b/build/standalone.gypi |
@@ -136,6 +136,14 @@ |
'configurations': { |
'DebugBaseCommon': { |
'cflags': [ '-g', '-O0' ], |
+ 'conditions': [ |
+ ['(v8_target_arch=="ia32" or v8_target_arch=="x64" or v8_target_arch=="x87") and \ |
+ OS=="linux"', { |
+ 'defines': [ |
+ '_GLIBCXX_DEBUG' |
+ ], |
+ }], |
+ ], |
}, |
'Optdebug': { |
'inherit_from': [ 'DebugBaseCommon', 'DebugBase2' ], |