commit: e69ee54148cf8d97c471b3bfbd904b42b820eb44 Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> AuthorDate: Wed Jun 1 15:34:50 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Jun 1 20:02:02 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e69ee541
toolchain.eclass: change the configure script shebang with BROOT It executes on CBUILD environment. Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 488648a82ab5..33306d3d92b1 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1655,7 +1655,7 @@ toolchain_src_compile() { # use of bash. Newer ones will auto-detect, but this is not harmful. # This needs to be set for compile as well, as it's used in libtool # generation, which will break install otherwise (at least in 3.3.6): bug #664486 - CONFIG_SHELL="${EPREFIX}/bin/bash" \ + CONFIG_SHELL="${BROOT}/bin/bash" \ gcc_do_make ${GCC_MAKE_TARGET} }