summaryrefslogtreecommitdiff
path: root/cppunit
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-07-18 14:32:39 +0200
committerLuboš Luňák <l.lunak@suse.cz>2011-07-18 14:33:34 +0200
commit2588c7688c3282ccc06ffe7a00577baacf65a91a (patch)
tree1cc55f61e282095b7fb6f0bdaa83c0bac54bf222 /cppunit
parent7efa9cb259bbf11b6c5089e5b22ee2494a6b0ff6 (diff)
build cppunit also with STL debug when STL debug is enabled
http://lists.freedesktop.org/archives/libreoffice/2011-July/014970.html
Diffstat (limited to 'cppunit')
-rw-r--r--cppunit/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/cppunit/makefile.mk b/cppunit/makefile.mk
index 23d8603c9e58..f71ac55d6266 100644
--- a/cppunit/makefile.mk
+++ b/cppunit/makefile.mk
@@ -117,6 +117,10 @@ OUT2LIB = ooo-install/lib/libcppunit.dll.a
MY_LIBS = -lm
.END
+.IF "$(ENABLE_DEBUG_STL)" == "TRUE"
+EXTRA_CFLAGS += -D_GLIBCXX_DEBUG
+.ENDIF
+
CONFIGURE_ACTION = ./configure
.IF "$(debug)"!=""