Reviewers: Michael Starzinger,

Description:
Enable libstdc++ debug mode in debug builds.

For now it's only enabled on Linux/Intel.

[email protected]
BUG=v8:3638
LOG=y

Please review this at https://codereview.chromium.org/650013006/

Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+8, -0 lines):
  M build/standalone.gypi


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' ],


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to