summaryrefslogtreecommitdiff
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
commitfbdf6bc69fb5f9e3ef65dba9a9761393189f1c38 (patch)
treeabf60b216a87592a04d82d39b478603fcaefa243
parent52655f14ef5293e4548715c4edf767186ef60072 (diff)
build cppunit also with STL debug when STL debug is enabled
http://lists.freedesktop.org/archives/libreoffice/2011-July/014970.html
-rw-r--r--cppunit/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/cppunit/makefile.mk b/cppunit/makefile.mk
index 23d8603..f71ac55 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)"!=""