diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-04-15 22:52:36 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-04-15 22:59:11 +0300 |
commit | 935ccf0fb5b164dcf86b306b570a04530b962314 (patch) | |
tree | 7cc3461369caa76fa37bd3df3c8922721ac07f1e /liborcus/ExternalProject_liborcus.mk | |
parent | dd763604784fe10ee06a2f9c1fddf74cdf890bcc (diff) |
Use -D_GLIBCXX_DEBUG for iOS, too
Also, for clarity, sort the list of platforms for which it is needed
(those where we use the GNU C++ library).
Change-Id: I55463f248ee08f97c085610d72fa688657ba36e6
Diffstat (limited to 'liborcus/ExternalProject_liborcus.mk')
-rw-r--r-- | liborcus/ExternalProject_liborcus.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/liborcus/ExternalProject_liborcus.mk b/liborcus/ExternalProject_liborcus.mk index 47e5cf5b4067..4ad026b21bc4 100644 --- a/liborcus/ExternalProject_liborcus.mk +++ b/liborcus/ExternalProject_liborcus.mk @@ -50,7 +50,14 @@ endif ifeq ($(SYSTEM_ZLIB),NO) liborcus_CPPFLAGS+=-I$(OUTDIR)/inc/external/zlib endif -ifneq (,$(filter LINUX FREEBSD OPENBSD NETBSD DRAGONFLY ANDROID MACOSX,$(OS))) +# +# OSes that use the GNU C++ library need to use -D_GLIBCXX_DEBUG in +# sync with the rest of LibreOffice, i.e. depending on +# --enable-dbgutil. Note that although Android doesn't use the GNU C +# library (glibc), the NDK does offer the GNU C++ library as one of +# the C++ libraries available, and we use it. +# +ifneq (,$(filter ANDROID DRAGONFLY FREEBSD IOS LINUX MACOSX NETBSD OPENBSD,$(OS))) ifneq (,$(gb_ENABLE_DBGUTIL)) liborcus_CPPFLAGS+=-D_GLIBCXX_DEBUG endif |