diff options
author | Michael Stahl <mst@openoffice.org> | 2011-10-10 18:10:12 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2011-10-11 17:56:59 +0200 |
commit | e0c72547ce57c25db61ec3da6c2f2f2792348c7d (patch) | |
tree | dd3adb4f7d88081a91924938ff7cba6f449d775d /cppunit | |
parent | 31973712c1ad7b995e9920af65e27f5879b33db9 (diff) |
enable libstdc++ debug mode with --enable-dbgutil
Diffstat (limited to 'cppunit')
-rw-r--r-- | cppunit/makefile.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cppunit/makefile.mk b/cppunit/makefile.mk index 913504c063ee..fe7f3f065e00 100644 --- a/cppunit/makefile.mk +++ b/cppunit/makefile.mk @@ -119,6 +119,15 @@ MY_LIBS = -lm CONFIGURE_ACTION = ./configure +.IF "$(COM)" == "GCC" +.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD" || "$(OS)" == "OPENBSD" || "$(OS)" == "NETBSD" || "$(OS)" == "DRAGONFLY" || "$(OS)" == "ANDROID" +.IF "$(PRODUCT)"!="full" +# enable debug STL +EXTRA_CDEFS += -D_GLIBCXX_DEBUG +.ENDIF # !PRODUCT +.ENDIF # OS +.ENDIF # GCC + .IF "$(debug)"!="" DEBUGFLAG=-g .ENDIF |