diff options
author | David Tardon <dtardon@redhat.com> | 2015-08-30 17:59:53 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-08-30 18:27:29 +0200 |
commit | d4cac4de650ee9339b7e513c8762bfce6574af76 (patch) | |
tree | ffc6a6339a5e4466de442c54d25572d4f27d47e5 /external/libcdr/ExternalProject_libcdr.mk | |
parent | 70b8f2e254860027ce575f3bd27ce92c04761a08 (diff) |
libcdr: fix build with boost 1.59
Change-Id: Ie12338eae161f0a13fa4ff036e41d389bc0d616a
Diffstat (limited to 'external/libcdr/ExternalProject_libcdr.mk')
-rw-r--r-- | external/libcdr/ExternalProject_libcdr.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/external/libcdr/ExternalProject_libcdr.mk b/external/libcdr/ExternalProject_libcdr.mk index e4d7c9b7ed24..96930fe7cf32 100644 --- a/external/libcdr/ExternalProject_libcdr.mk +++ b/external/libcdr/ExternalProject_libcdr.mk @@ -36,7 +36,8 @@ $(call gb_ExternalProject_get_state_target,libcdr,build) : --disable-werror \ --disable-weffc \ $(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) \ ) |