From e0c72547ce57c25db61ec3da6c2f2f2792348c7d Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 10 Oct 2011 18:10:12 +0200 Subject: enable libstdc++ debug mode with --enable-dbgutil --- cppunit/makefile.mk | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cppunit/makefile.mk') 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 -- cgit