From: Benda Xu <[email protected]>

It executes on CBUILD environment.
---
 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}
 }
 
-- 
2.34.1


Reply via email to