Kaydet (Commit) 935ccf0f authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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
üst dd763604
...@@ -50,7 +50,14 @@ endif ...@@ -50,7 +50,14 @@ endif
ifeq ($(SYSTEM_ZLIB),NO) ifeq ($(SYSTEM_ZLIB),NO)
liborcus_CPPFLAGS+=-I$(OUTDIR)/inc/external/zlib liborcus_CPPFLAGS+=-I$(OUTDIR)/inc/external/zlib
endif 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)) ifneq (,$(gb_ENABLE_DBGUTIL))
liborcus_CPPFLAGS+=-D_GLIBCXX_DEBUG liborcus_CPPFLAGS+=-D_GLIBCXX_DEBUG
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment