diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-11-04 11:03:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-11-04 12:49:44 +0100 |
commit | 7158acde7756a264c09e24e1cfe4c81db700b920 (patch) | |
tree | e9bc75e50e405f61ef37fbd2f9cef40d364a9505 /external/cppunit | |
parent | 995a6b38d5b8ac8aabca54f991caaaf35e6db395 (diff) |
Consolidate -D_GLIBCXX_DEBUG for --enable-dbgutil builds against libstdc++
(this was meant as a prerequisite for enabling its -D_LIBCPP_DEBUG=1 counterpart
when building against libc++ on macOS, but which got stalled for now after
running into the issue described at
<https://lists.llvm.org/pipermail/libcxx-dev/2021-October/001222.html>
"[libcxx-dev] Building a program with -D_LIBCPP_DEBUG=1 against a libc++ that is
not itself built with that define")
Change-Id: If466dce595a9311b2afbae41d5ddcaecc6f3c57b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124678
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external/cppunit')
-rw-r--r-- | external/cppunit/ExternalProject_cppunit.mk | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/external/cppunit/ExternalProject_cppunit.mk b/external/cppunit/ExternalProject_cppunit.mk index e32bdb30f0b9..fee215adde59 100644 --- a/external/cppunit/ExternalProject_cppunit.mk +++ b/external/cppunit/ExternalProject_cppunit.mk @@ -30,11 +30,7 @@ else cppunit_CXXFLAGS=$(CXXFLAGS) -ifneq (,$(filter ANDROID DRAGONFLY FREEBSD iOS LINUX NETBSD OPENBSD,$(OS))) -ifneq (,$(gb_ENABLE_DBGUTIL)) -cppunit_CXXFLAGS+=-D_GLIBCXX_DEBUG -endif -endif +cppunit_CXXFLAGS+=$(gb_COMPILERDEFS_STDLIB_DEBUG) ifneq (,$(call gb_LinkTarget__symbols_enabled,cppunit)) cppunit_CXXFLAGS+=-g |