summaryrefslogtreecommitdiff
path: root/external/liborcus
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2014-08-06 11:53:25 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2014-08-06 12:05:56 +0200
commit1f23cc159de5e8584b9354a42d431356530d1ce0 (patch)
treeb6f94c5935dfda98b38f2ef664cf50e5fc7898e3 /external/liborcus
parent8ec7e5250c204422b5efdf277de0722adb042728 (diff)
Fix libgltf dbgutil build
The libgltf configure.ac script changes the autotools user variables CFLAGS and CXXFLAGS, which is not allowed and can overwrite user settings (which it does for the -D_GLIBCXX_DEBUG flag). So this moves the special compile settings to seperate variables and passes them to AM_CXXFLAGS and AM_CPPFLAGS, so the library actually gets compiled with libstdc++ debug objects. Change-Id: I00989f5fb629a6aac43ee5a2eb287b0491a3b86d
Diffstat (limited to 'external/liborcus')
-rw-r--r--external/liborcus/ExternalProject_liborcus.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/liborcus/ExternalProject_liborcus.mk b/external/liborcus/ExternalProject_liborcus.mk
index e12ebd2d09f5..fd9995661e25 100644
--- a/external/liborcus/ExternalProject_liborcus.mk
+++ b/external/liborcus/ExternalProject_liborcus.mk
@@ -64,7 +64,7 @@ endif
# 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 LINUX NETBSD OPENBSD,$(OS)))
+ifneq (,$(filter ANDROID DRAGONFLY FREEBSD IOS LINUX NETBSD OPENBSD,$(OS)))
ifneq (,$(gb_ENABLE_DBGUTIL))
liborcus_CPPFLAGS+=-D_GLIBCXX_DEBUG
endif