From c987974dcc212bdd2afa442657d287172102a674 Mon Sep 17 00:00:00 2001 From: "bmeurer@chromium.org" Date: Fri, 17 Oct 2014 06:58:20 +0000 Subject: [PATCH] Enable libstdc++ debug mode in debug builds. See https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html for details about the debug mode. BUG=v8:3638 LOG=y R=jochen@chromium.org Review URL: https://codereview.chromium.org/648293007 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24676 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- build/standalone.gypi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/standalone.gypi b/build/standalone.gypi index aee7832..d307be3 100644 --- a/build/standalone.gypi +++ b/build/standalone.gypi @@ -136,6 +136,9 @@ 'configurations': { 'DebugBaseCommon': { 'cflags': [ '-g', '-O0' ], + 'defines': [ + '_GLIBCXX_DEBUG' + ], }, 'Optdebug': { 'inherit_from': [ 'DebugBaseCommon', 'DebugBase2' ], -- 2.7.4