dev-util/boost-build: fix cross-compilation

This commit is contained in:
David Michael 2017-05-04 14:54:34 -07:00
parent ccf87998ec
commit 459747cc1f

View File

@ -101,6 +101,7 @@ src_compile() {
toolset=cc
fi
tc-is-cross-compiler && sed -i -e 's/BOOST_JAM_CC=\$CC$/BOOST_JAM_CC=cc/' build.sh
CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT%/}"/usr) || die "building bjam failed"
}