1.1 --- a/scripts/build/libc_glibc.sh Fri Sep 14 21:17:59 2007 +0000
1.2 +++ b/scripts/build/libc_glibc.sh Tue Oct 30 19:13:51 2007 +0000
1.3 @@ -155,7 +155,7 @@
1.4 case "${CT_THREADS}" in
1.5 nptl)
1.6 # NOTE: for some archs, the pathes are different, but they are not
1.7 - # supported by ct-ng right now. See original crosstool when they are.
1.8 + # supported by crosstool-NG right now. See original crosstool when they are.
1.9 pthread_h="${CT_SRC_DIR}/${CT_LIBC_FILE}/${CT_THREADS}/sysdeps/pthread/pthread.h"
1.10 pthreadtypes_h="${CT_SRC_DIR}/${CT_LIBC_FILE}/nptl/sysdeps/unix/sysv/linux/${CT_KERNEL_ARCH}/bits/pthreadtypes.h"
1.11 if [ ! -f "${pthreadtypes_h}" ]; then
1.12 @@ -206,13 +206,9 @@
1.13 y) extra_config="${extra_config} --enable-shared";;
1.14 *) extra_config="${extra_config} --disable-shared";;
1.15 esac
1.16 - case "${CT_LIBC_GLIBC_EXTRA_CONFIG}" in
1.17 - *--with-fp*) ;;
1.18 - *--without-fp*) ;;
1.19 - *) case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in
1.20 - y,) extra_config="${extra_config} --with-fp";;
1.21 - ,y) extra_config="${extra_config} --without-fp";;
1.22 - esac;;
1.23 + case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in
1.24 + y,) extra_config="${extra_config} --with-fp";;
1.25 + ,y) extra_config="${extra_config} --without-fp";;
1.26 esac
1.27 # Obviously, we want threads, as we come here only for NPTL
1.28 extra_config="${extra_config} --with-__thread"
1.29 @@ -238,8 +234,9 @@
1.30 CT_DoLog DEBUG "Extra config args passed: \"${extra_config}\""
1.31 CT_DoLog DEBUG "Extra CC args passed : \"${extra_cc_args}\""
1.32
1.33 - # sh3 and sh4 really need to set configparms as of gcc-3.4/glibc-2.3.2
1.34 - # note: this is awkward, doesn't work well if you need more than one line in configparms
1.35 + # Super-H really needs to set configparms as of gcc-3.4/glibc-2.3.2
1.36 + # note: this is awkward, doesn't work well if you need more than one
1.37 + # line in configparms
1.38 echo ${CT_LIBC_GLIBC_CONFIGPARMS} > configparms
1.39
1.40 echo "libc_cv_forced_unwind=yes" > config.cache