1 |
commit: 9da63337a5462a8a75a4afe0f09051dcf23aeac8 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 6 17:24:52 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 6 17:24:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=9da63337 |
7 |
|
8 |
boost-build: Use BUILD CXX |
9 |
|
10 |
When doing cross compile, the b2 program must be executable |
11 |
on host system which tries to build boost. |
12 |
|
13 |
Fixes: 5e340654 ("Bump boost to v1.76.0") |
14 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
15 |
|
16 |
gkbuilds/boost-build.gkbuild | 4 +++- |
17 |
1 file changed, 3 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/gkbuilds/boost-build.gkbuild b/gkbuilds/boost-build.gkbuild |
20 |
index 5d470c1..03d1f88 100644 |
21 |
--- a/gkbuilds/boost-build.gkbuild |
22 |
+++ b/gkbuilds/boost-build.gkbuild |
23 |
@@ -12,10 +12,12 @@ QA_IGNORE_DYNAMICALLY_LINKED_PROGRAM='(bjam|b2)$' |
24 |
src_compile() { |
25 |
cd engine || die "Failed to chdir to '${S}/engine'!" |
26 |
|
27 |
+ # Using BUILD CXX here because the host system |
28 |
+ # building the initramfs must be able to execute created b2 program |
29 |
local myargs=( |
30 |
./build.sh |
31 |
cxx |
32 |
- --cxx="$(tc-getCXX)" |
33 |
+ --cxx="$(tc-getBUILD_CXX)" |
34 |
--cxxflags="${CXXFLAGS}" |
35 |
-d+2 |
36 |
--without-python |