From: bmeurer@chromium.org Date: Fri, 17 Oct 2014 06:58:20 +0000 (+0000) Subject: Enable libstdc++ debug mode in debug builds. X-Git-Tag: upstream/4.7.83~6305 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c987974dcc212bdd2afa442657d287172102a674;p=platform%2Fupstream%2Fv8.git 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 --- 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' ],