Gentoo Archives: gentoo-dev

From: heroxbd@g.o
To: gentoo-dev@l.g.o
Cc: Benda Xu <heroxbd@g.o>
Subject: [gentoo-dev] [PATCH] toolchain.eclass: the configure script shebang with BROOT.
Date: Wed, 01 Jun 2022 15:35:19
Message-Id: 20220601153451.27325-1-heroxbd@gentoo.org
1 From: Benda Xu <heroxbd@g.o>
2
3 It executes on CBUILD environment.
4 ---
5 eclass/toolchain.eclass | 2 +-
6 1 file changed, 1 insertion(+), 1 deletion(-)
7
8 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
9 index 488648a82ab5..33306d3d92b1 100644
10 --- a/eclass/toolchain.eclass
11 +++ b/eclass/toolchain.eclass
12 @@ -1655,7 +1655,7 @@ toolchain_src_compile() {
13 # use of bash. Newer ones will auto-detect, but this is not harmful.
14 # This needs to be set for compile as well, as it's used in libtool
15 # generation, which will break install otherwise (at least in 3.3.6): bug #664486
16 - CONFIG_SHELL="${EPREFIX}/bin/bash" \
17 + CONFIG_SHELL="${BROOT}/bin/bash" \
18 gcc_do_make ${GCC_MAKE_TARGET}
19 }
20
21 --
22 2.34.1

Replies