summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-10-24 21:29:49 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-10-24 21:29:49 +0900
commitc9eefea43ef844ba33fff731b2ba6c48e9133fcd (patch)
treee27ad9a7ccb4e06cbdd00ea99ae55ecac9d76879
parentsys-apps/portage: prefixify 2.3.2. (diff)
downloadandroid-c9eefea43ef844ba33fff731b2ba6c48e9133fcd.tar.gz
android-c9eefea43ef844ba33fff731b2ba6c48e9133fcd.tar.bz2
android-c9eefea43ef844ba33fff731b2ba6c48e9133fcd.zip
toolchain.eclass: prefixify the config shell.
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 0d0fac9..27ff44a 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1251,7 +1251,7 @@ toolchain_src_configure() {
echo "${S}"/configure "${confgcc[@]}"
# Older gcc versions did not detect bash and re-exec itself, so force the
# use of bash. Newer ones will auto-detect, but this is not harmeful.
- CONFIG_SHELL="/bin/bash" \
+ CONFIG_SHELL="${EPREFIX}/bin/bash" \
bash "${S}"/configure "${confgcc[@]}" || die "failed to run configure"
# return to whatever directory we were in before