diff options
author | David Tardon <dtardon@redhat.com> | 2011-01-15 18:30:22 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-01-16 18:47:33 +0100 |
commit | 7f761bded4d83f2dfbaacec140a1e3fd15e8aac1 (patch) | |
tree | db5fd4f7f2124e61998d8fb6c1fe64e0c0ce61e2 /solenv | |
parent | cd04b977a6b28809c6cb5e409e9c209b1cb218a2 (diff) |
use debug version of libstdc++ in debug builds
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/inc/unxgcc.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk index 3404962f39fb..4688b25936fd 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 |