summaryrefslogtreecommitdiff
path: root/external/libebook
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-05-27 15:21:50 +0200
committerMichael Stahl <mstahl@redhat.com>2016-05-30 09:45:43 +0200
commite355e54f2fddcf3146f33c9690e580e6b77aacef (patch)
treebe5c00928059bc4001be044030940592cc498c65 /external/libebook
parent5251a7c39c7c2ee6bc16965484913002d662d44d (diff)
configure: set BOOST_CPPFLAGS also in --without-system-boost case
Simplify the makefiles. Change-Id: Ia695961e936e4a1ffdaff73eb56adc3c3905ed0c
Diffstat (limited to 'external/libebook')
-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 5ef585ac9733..45b15f2f5eb7 100644
--- a/external/libebook/ExternalProject_libebook.mk
+++ b/external/libebook/ExternalProject_libebook.mk
@@ -38,7 +38,7 @@ $(call gb_ExternalProject_get_state_target,libebook,build) :
$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
--disable-werror \
--disable-weffc \
- CXXFLAGS="$(CXXFLAGS) $(if $(SYSTEM_BOOST),$(BOOST_CPPFLAGS),-I$(call gb_UnpackedTarball_get_dir,boost)) \
+ CXXFLAGS="$(CXXFLAGS) $(BOOST_CPPFLAGS) \
-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED" \
XML_CFLAGS="$(LIBXML_CFLAGS)" \
XML_LIBS="$(LIBXML_LIBS)" \