summaryrefslogtreecommitdiff
path: root/external/libwps
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-11-04 11:03:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-11-04 12:49:44 +0100
commit7158acde7756a264c09e24e1cfe4c81db700b920 (patch)
treee9bc75e50e405f61ef37fbd2f9cef40d364a9505 /external/libwps
parent995a6b38d5b8ac8aabca54f991caaaf35e6db395 (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/libwps')
-rw-r--r--external/libwps/ExternalProject_libwps.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/external/libwps/ExternalProject_libwps.mk b/external/libwps/ExternalProject_libwps.mk
index 12e3c8719a47..954b85e6cec7 100644
--- a/external/libwps/ExternalProject_libwps.mk
+++ b/external/libwps/ExternalProject_libwps.mk
@@ -19,11 +19,7 @@ $(eval $(call gb_ExternalProject_use_externals,libwps,\
revenge \
))
-ifneq (,$(filter ANDROID DRAGONFLY FREEBSD iOS LINUX NETBSD OPENBSD,$(OS)))
-ifneq (,$(gb_ENABLE_DBGUTIL))
-libwps_CPPFLAGS+=-D_GLIBCXX_DEBUG
-endif
-endif
+libwps_CPPFLAGS+=$(gb_COMPILERDEFS_STDLIB_DEBUG)
libwps_CXXFLAGS=$(gb_CXXFLAGS) $(if $(ENABLE_OPTIMIZED),$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS))