diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-07-06 19:24:52 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-07-06 19:24:52 +0200 |
commit | 9da63337a5462a8a75a4afe0f09051dcf23aeac8 (patch) | |
tree | cc926950fce6f042e2469e3ad99ef1a74ada98df /gkbuilds | |
parent | libgpg-error: Fix cross compile (diff) | |
download | genkernel-9da63337a5462a8a75a4afe0f09051dcf23aeac8.tar.gz genkernel-9da63337a5462a8a75a4afe0f09051dcf23aeac8.tar.bz2 genkernel-9da63337a5462a8a75a4afe0f09051dcf23aeac8.zip |
boost-build: Use BUILD CXX
When doing cross compile, the b2 program must be executable
on host system which tries to build boost.
Fixes: 5e340654 ("Bump boost to v1.76.0")
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gkbuilds')
-rw-r--r-- | gkbuilds/boost-build.gkbuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gkbuilds/boost-build.gkbuild b/gkbuilds/boost-build.gkbuild index 5d470c1f..03d1f88f 100644 --- a/gkbuilds/boost-build.gkbuild +++ b/gkbuilds/boost-build.gkbuild @@ -12,10 +12,12 @@ QA_IGNORE_DYNAMICALLY_LINKED_PROGRAM='(bjam|b2)$' src_compile() { cd engine || die "Failed to chdir to '${S}/engine'!" + # Using BUILD CXX here because the host system + # building the initramfs must be able to execute created b2 program local myargs=( ./build.sh cxx - --cxx="$(tc-getCXX)" + --cxx="$(tc-getBUILD_CXX)" --cxxflags="${CXXFLAGS}" -d+2 --without-python |