summaryrefslogtreecommitdiff
path: root/liborcus
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-11-28 22:42:01 +0100
committerMichael Stahl <mstahl@redhat.com>2012-11-28 22:42:55 +0100
commit07f5a7c8ab3c2d36703235b49b66441d804046e1 (patch)
treecf226dd5deeb944050f8c346dc3972a3718cdee8 /liborcus
parente9ab377670ab12861700f22cb3f88af2e8292ff7 (diff)
liborcus: must be built with -D_GLIBCXX_DEBUG for debug STL
... in --enable-dbgutil mode. Change-Id: I095bc8f29570afd9912a615e98ef05e4249ea8f7
Diffstat (limited to 'liborcus')
-rw-r--r--liborcus/ExternalProject_liborcus.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/liborcus/ExternalProject_liborcus.mk b/liborcus/ExternalProject_liborcus.mk
index 6e225f9f84a2..0c64d86fd3a4 100644
--- a/liborcus/ExternalProject_liborcus.mk
+++ b/liborcus/ExternalProject_liborcus.mk
@@ -40,6 +40,7 @@ endif
else
+# must be built with debug STL if --enable-dbgutil
$(call gb_ExternalProject_get_state_target,liborcus,build) :
cd $(EXTERNAL_WORKDIR) \
&& $(if $(filter ANDROID,$(OS)),LIBS='-lgnustl_shared -lm') \
@@ -51,6 +52,7 @@ $(call gb_ExternalProject_get_state_target,liborcus,build) :
--disable-debug \
--disable-spreadsheet-model \
--disable-werror \
+ $(if $(filter LINUX FREEBSD OPENBSD NETBSD DRAGONFLY ANDROID,$(OS)),$(if $(gb_ENABLE_DBGUTIL),CPPFLAGS=-D_GLIBCXX_DEBUG)) \
$(if $(filter NO,$(SYSTEM_BOOST)),CXXFLAGS=-I$(OUTDIR)/inc/external) \
$(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
&& $(MAKE) \