Gentoo Archives: gentoo-dev

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

Attachments

File name MIME type
signature.asc application/pgp-signature