summaryrefslogtreecommitdiff
path: root/external/libpagemaker/ExternalProject_libpagemaker.mk
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/libpagemaker/ExternalProject_libpagemaker.mk
parent5251a7c39c7c2ee6bc16965484913002d662d44d (diff)
configure: set BOOST_CPPFLAGS also in --without-system-boost case
Simplify the makefiles. Change-Id: Ia695961e936e4a1ffdaff73eb56adc3c3905ed0c
Diffstat (limited to 'external/libpagemaker/ExternalProject_libpagemaker.mk')
-rw-r--r--external/libpagemaker/ExternalProject_libpagemaker.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/libpagemaker/ExternalProject_libpagemaker.mk b/external/libpagemaker/ExternalProject_libpagemaker.mk
index 9f8fac8c184d..8bd4d68bedad 100644
--- a/external/libpagemaker/ExternalProject_libpagemaker.mk
+++ b/external/libpagemaker/ExternalProject_libpagemaker.mk
@@ -33,7 +33,7 @@ $(call gb_ExternalProject_get_state_target,libpagemaker,build) :
--disable-werror \
--disable-weffc \
$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
- 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" \
$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
&& $(MAKE) \