Skip to contentSkip to conversation

boost: ignore site config

PATCH New Gustavo Zacarias 2 participants 2 messages Oct 28, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/boost/boost.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/boost/boost.mk +4 -0
index 46a98e8..275ee00 100644
@@ -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
 
Signature · 1 line
2.0.4
#1 lore raw

PATCH 1/1 boost: ignore site config

Dear Gustavo Zacarias,

Quoted 8 lines · Gustavo Zacarias

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

---
 package/boost/boost.mk | 4 ++++
 1 file changed, 4 insertions(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com