1.1 --- a/scripts/build/libc/glibc-eglibc.sh-common Fri Oct 07 15:23:47 2011 +0200
1.2 +++ b/scripts/build/libc/glibc-eglibc.sh-common Wed Nov 02 13:35:06 2011 +0100
1.3 @@ -199,6 +199,8 @@
1.4 # Adding "--without-gd" option to avoid error "memusagestat.c:36:16: gd.h: No such file or directory"
1.5 # See also http://sources.redhat.com/ml/libc-alpha/2000-07/msg00024.html.
1.6 # Set BUILD_CC, or we won't be able to build datafiles
1.7 + # Run explicitly through CONFIG_SHELL, or the build breaks badly (loop-of-death)
1.8 + # when the shell is not bash... Sigh... :-(
1.9
1.10 CT_DoExecLog CFG \
1.11 BUILD_CC="${CT_BUILD}-gcc" \
1.12 @@ -206,6 +208,7 @@
1.13 CC="${CT_TARGET}-gcc ${CT_LIBC_EXTRA_CC_ARGS} ${extra_cc_args}" \
1.14 AR=${CT_TARGET}-ar \
1.15 RANLIB=${CT_TARGET}-ranlib \
1.16 + "${CONFIG_SHELL}" \
1.17 "${src_dir}/configure" \
1.18 --prefix=/usr \
1.19 --build=${CT_BUILD} \