summaryrefslogtreecommitdiff
path: root/external/libebook/ExternalProject_libebook.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-11-14 21:37:58 +0100
committerMichael Stahl <mstahl@redhat.com>2013-11-14 21:39:24 +0100
commitd5d307d647c67c2d620eae5651c54c02178b5f52 (patch)
treee3e5a025ae00789cb859bcae3c171ab5343e2608 /external/libebook/ExternalProject_libebook.mk
parent1b5f5b0325e8ace49da154c0275d3d6894acc809 (diff)
externals using boost now need config_host to find config_global.h
... why didn't GCC 4.1 have #pragma diagnostic push? Change-Id: Iedb33d6451e46dc12e137bcd4dccd592c7771c23
Diffstat (limited to 'external/libebook/ExternalProject_libebook.mk')
-rw-r--r--external/libebook/ExternalProject_libebook.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/libebook/ExternalProject_libebook.mk b/external/libebook/ExternalProject_libebook.mk
index dbb7d2b87dfa..0983177af75b 100644
--- a/external/libebook/ExternalProject_libebook.mk
+++ b/external/libebook/ExternalProject_libebook.mk
@@ -34,7 +34,7 @@ $(call gb_ExternalProject_get_state_target,libebook,build) :
--disable-debug \
--disable-werror \
--disable-weffc \
- CXXFLAGS="$(if $(filter NO,$(SYSTEM_BOOST)),-I$(call gb_UnpackedTarball_get_dir,boost),$(BOOST_CPPFLAGS))" \
+ CXXFLAGS="$(if $(filter NO,$(SYSTEM_BOOST)),-I$(call gb_UnpackedTarball_get_dir,boost) -I$(BUILDDIR)/config_$(gb_Side),$(BOOST_CPPFLAGS))" \
XML_CFLAGS="$(if $(filter NO,$(SYSTEM_LIBXML)),-I$(call gb_UnpackedTarball_get_dir,xml2)/include,$(LIBXML_CFLAGS))" \
XML_LIBS="$(LIBXML_LIBS)" \
$(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \