boost: ignore site config
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 28 Oct 2014 10:49:11 +0000 (07:49 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 28 Oct 2014 17:54:26 +0000 (18:54 +0100)
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>
package/boost/boost.mk

index 46a98e8d0b73aa8de354821be691d0ca872dbf50..275ee00456e0cc2dd03eebe5d64aea8a14599532 100644 (file)
@@ -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