diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-04-09 23:07:16 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-04-15 15:26:33 +0200 |
commit | a5a5104cae175f6b9a8cb4bbaccb69f0276783e3 (patch) | |
tree | c8a1d4ed8c36a9fbe835bee098cc46a1ef0ec72a /solenv | |
parent | f14f7a2e4568e3e85a0c8860beebd0376c5a8b51 (diff) |
gbuild: --enable-dbgutil: enable STL assertions for Mac OS X
Works here with Apple llvm-g++ 4.2.1; cannot run "subsequentcheck"
due to remote login.
Change-Id: I187620b65f82095b5e9b7433c01ede429a27c719
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/macosx.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk index 011aaaeec407..5d94b4ad6568 100644 --- a/solenv/gbuild/platform/macosx.mk +++ b/solenv/gbuild/platform/macosx.mk @@ -77,6 +77,13 @@ gb_COMPILERDEFS += \ endif +# enable debug STL +ifeq ($(gb_ENABLE_DBGUTIL),$(true)) +gb_COMPILERDEFS += \ + -D_GLIBCXX_DEBUG \ + +endif + ifeq ($(HAVE_GCC_NO_LONG_DOUBLE),TRUE) gb_CXXFLAGS += -Wno-long-double endif |