summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}
}