mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-18 10:51:23 +02:00
dev-util/boost-build: fix cross-compilation
This commit is contained in:
parent
ccf87998ec
commit
459747cc1f
@ -101,6 +101,7 @@ src_compile() {
|
|||||||
toolset=cc
|
toolset=cc
|
||||||
fi
|
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"
|
CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT%/}"/usr) || die "building bjam failed"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user