summaryrefslogtreecommitdiffstats
path: root/solenv/inc
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-06-12 17:37:11 +0200
committerDavid Tardon <dtardon@redhat.com>2011-06-18 17:20:10 +0200
commit510737a54ad921ec6d873d1fcda20fae28d99a16 (patch)
treee5789ae70f88f2c2d4c5b0dcfd9666ad01115893 /solenv/inc
parentMinGW hacks, we get a bit further now (diff)
downloadcore-510737a54ad921ec6d873d1fcda20fae28d99a16.tar.gz
core-510737a54ad921ec6d873d1fcda20fae28d99a16.zip
enable libstdc++'s debug mode with --enable-debug
Diffstat (limited to 'solenv/inc')
-rw-r--r--solenv/inc/unxgcc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk
index 752de80c7b36..79d10d274fc0 100644
--- a/solenv/inc/unxgcc.mk
+++ b/solenv/inc/unxgcc.mk
@@ -90,6 +90,9 @@ CFLAGSCXX+=-fvisibility-inlines-hidden
.IF "$(HAVE_CXX0X)" == "TRUE"
CFLAGSCXX+=-std=c++0x -Wno-deprecated-declarations
.ENDIF # "$(HAVE_CXX0X)" == "TRUE"
+.IF "$(ENABLE_DEBUG_STL)" == "TRUE"
+CFLAGSCXX += -D_GLIBCXX_DEBUG
+.ENDIF
CFLAGS_CREATE_PCH=-x c++-header -I$(INCPCH) -DPRECOMPILED_HEADERS
CFLAGS_USE_PCH=-I$(SLO)$/pch -DPRECOMPILED_HEADERS -Winvalid-pch