scripts/build/libc/glibc-eglibc.sh-common
changeset 2706 30c89d1f74a4
parent 2699 28a97cb454e2
child 2737 b5179235b925
     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	Tue Oct 11 22:21:48 2011 +0200
     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}                                         \