summaryrefslogtreecommitdiffstats
path: root/cppunit
diff options
context:
space:
mode:
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)"!=""