diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-02-17 11:55:31 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-02-17 11:57:50 +0100 |
commit | be9bf4801bc157ec1bf522500772222de914a212 (patch) | |
tree | 2c4e241459089ee803b1e11e21ed2d3b5a32e7cb /libmspub | |
parent | faf72664d11deaa570a0f8c7e702ff07bf5914c8 (diff) |
Improve support for --with-system-boost --with-boost=... in external modules
...though it would arguably be better to just pass along --with-boost=... where
applicable. (liborcus' orcus-xml-dump links against -lboost_system, so needs
BOOST_LDFLAGS passed in in addition to BOOST_CPPFLAGS.)
Change-Id: I6467d0f453d68494b75559a7eb61f865f9513b50
Diffstat (limited to 'libmspub')
-rw-r--r-- | libmspub/ExternalProject_libmspub.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmspub/ExternalProject_libmspub.mk b/libmspub/ExternalProject_libmspub.mk index 14cc85e2e99c..9fdcce16f886 100644 --- a/libmspub/ExternalProject_libmspub.mk +++ b/libmspub/ExternalProject_libmspub.mk @@ -72,7 +72,7 @@ $(call gb_ExternalProject_get_state_target,libmspub,build) : --disable-debug \ --disable-werror \ --disable-weffc \ - $(if $(filter NO,$(SYSTEM_BOOST)),CXXFLAGS=-I$(call gb_UnpackedTarball_get_dir,boost)) \ + $(if $(filter NO,$(SYSTEM_BOOST)),CXXFLAGS=-I$(call gb_UnpackedTarball_get_dir,boost),CXXFLAGS=$(BOOST_CPPFLAGS)) \ $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ && (cd $(EXTERNAL_WORKDIR)/src/lib && $(MAKE)) \ && touch $@ |