[Libreoffice-commits] .: solenv/inc

David Tardon dtardon at kemper.freedesktop.org
Sun Jan 16 09:50:02 PST 2011


 solenv/inc/unxgcc.mk |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 3d01d7d631a33670db50c7553bfcb7a670065dc3
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Jan 15 18:30:22 2011 +0100

    use debug version of libstdc++ in debug builds

diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk
index 3404962..4688b25 100644
--- a/solenv/inc/unxgcc.mk
+++ b/solenv/inc/unxgcc.mk
@@ -257,6 +257,11 @@ LIBSTLPORTST=$(STATIC) -lstlport_gcc $(DYNAMIC)
 .ENDIF
 .ENDIF # "$(USE_STLP_DEBUG)" != ""
 
+.IF "$(USE_SYSTEM_STL)" == "YES" && "$(DBG_LEVEL)" >= "1"
+# turn on debugging version of libstdc++
+CDEFS += -D_GLIBCXX_DEBUG
+.ENDIF
+
 #FILLUPARC=$(STATIC) -lsupc++ $(DYNAMIC)
 
 # name of library manager


More information about the Libreoffice-commits mailing list