summaryrefslogtreecommitdiff
path: root/external/libvisio
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-08-30 17:57:47 +0200
committerDavid Tardon <dtardon@redhat.com>2015-08-30 18:27:27 +0200
commit70b8f2e254860027ce575f3bd27ce92c04761a08 (patch)
tree5d42eba62c7eb9a7646d05fde4ba9cec555669bc /external/libvisio
parent51c292b8bbbb5204f1c4d9ef78fd49bfb50f3afe (diff)
libvisio: fix build with boost 1.59
Change-Id: Ib90425d6908bc0bfe2efb633d0215f77546e4c38
Diffstat (limited to 'external/libvisio')
-rw-r--r--external/libvisio/ExternalProject_libvisio.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/external/libvisio/ExternalProject_libvisio.mk b/external/libvisio/ExternalProject_libvisio.mk
index b7147885bb22..6ecfa43f998e 100644
--- a/external/libvisio/ExternalProject_libvisio.mk
+++ b/external/libvisio/ExternalProject_libvisio.mk
@@ -35,7 +35,8 @@ $(call gb_ExternalProject_get_state_target,libvisio,build) :
$(if $(ENABLE_DEBUG),--enable-debug,--disable-debug) \
--disable-werror \
$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
- CXXFLAGS="$(if $(SYSTEM_BOOST),$(BOOST_CPPFLAGS),-I$(call gb_UnpackedTarball_get_dir,boost))" \
+ CXXFLAGS="$(if $(SYSTEM_BOOST),$(BOOST_CPPFLAGS),-I$(call gb_UnpackedTarball_get_dir,boost)) \
+ -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED" \
$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
&& $(MAKE) \
)