aboutsummaryrefslogtreecommitdiff
path: root/package/boost
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-10-28 07:49:11 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-28 18:54:26 +0100
commitb65013988f0ee5c9d596a2fd819f0d722183f020 (patch)
tree22b598d0584ba852147656d77be62e39f949abbe /package/boost
parentee3b9d9c6cf2ca2c51242ce5474fd023dc84bc8b (diff)
downloadbuildroot-b65013988f0ee5c9d596a2fd819f0d722183f020.tar.gz
buildroot-b65013988f0ee5c9d596a2fd819f0d722183f020.tar.bz2
boost: ignore site config
It can lead to build failures if you've got boost installed in the host, like this: http://stackoverflow.com/questions/23013433/how-to-install-modular-boost Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/boost')
-rw-r--r--package/boost/boost.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 46a98e8d0b..275ee00456 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -125,6 +125,7 @@ define BOOST_INSTALL_TARGET_CMDS
--user-config=$(@D)/user-config.jam \
$(BOOST_OPTS) \
--prefix=$(TARGET_DIR)/usr \
+ --ignore-site-config \
--layout=$(BOOST_LAYOUT) install )
endef
@@ -132,6 +133,7 @@ define HOST_BOOST_BUILD_CMDS
(cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q -d+1 \
--user-config=$(@D)/user-config.jam \
$(HOST_BOOST_OPTS) \
+ --ignore-site-config \
--prefix=$(HOST_DIR)/usr )
endef
@@ -140,6 +142,7 @@ define HOST_BOOST_INSTALL_CMDS
--user-config=$(@D)/user-config.jam \
$(HOST_BOOST_OPTS) \
--prefix=$(HOST_DIR)/usr \
+ --ignore-site-config \
--layout=$(BOOST_LAYOUT) install )
endef
@@ -148,6 +151,7 @@ define BOOST_INSTALL_STAGING_CMDS
--user-config=$(@D)/user-config.jam \
$(BOOST_OPTS) \
--prefix=$(STAGING_DIR)/usr \
+ --ignore-site-config \
--layout=$(BOOST_LAYOUT) install)
endef