boost: ignore site config during host build
authorStijn Tintel <stijn@linux-ipv6.be>
Wed, 5 Jun 2019 07:26:58 +0000 (10:26 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Wed, 5 Jun 2019 07:33:08 +0000 (10:33 +0300)
Without this, the host build picks up the site config in
/usr/share/boost-build/site-config.jam which causes a build failure on
Gentoo where a custom optimization value "none" is used.

Fixes #9152.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
libs/boost/Makefile

index ed1b3ebc4a58d7342dd68d097c303bab99164775..b858822cddd79602a92341f874ab5e78ce96d588 100644 (file)
@@ -384,7 +384,7 @@ define Host/Compile
                                headers \
                                $(foreach lib,$(BOOST_LIBS), \
                                        $(if $(findstring python,$(lib)),,$(if $(CONFIG_boost-host-build-$(lib)),$(lib)))))) ; \
-               ./b2 install )
+               ./b2 --ignore-site-config install )
 endef
 
 CONFIGURE_PREFIX:=$(PKG_INSTALL_DIR)