summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2022-06-01 15:34:50 +0000
committerSam James <sam@gentoo.org>2022-06-01 21:02:02 +0100
commite69ee54148cf8d97c471b3bfbd904b42b820eb44 (patch)
treee4fd3588e7b99123026944c88d0dd3b1b897e8c5 /eclass/toolchain.eclass
parentprofiles: add default/linux/arm/17.0/armv7a/desktop/{plasma,gnome}/systemd (diff)
downloadgentoo-e69ee54148cf8d97c471b3bfbd904b42b820eb44.tar.gz
gentoo-e69ee54148cf8d97c471b3bfbd904b42b820eb44.tar.bz2
gentoo-e69ee54148cf8d97c471b3bfbd904b42b820eb44.zip
toolchain.eclass: change the configure script shebang with BROOT
It executes on CBUILD environment. Signed-off-by: Benda Xu <heroxbd@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 1 insertions, 1 deletions
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}
}