1.1 --- a/scripts/build/libc_glibc.sh Thu Jul 31 09:08:33 2008 +0000
1.2 +++ b/scripts/build/libc_glibc.sh Tue Aug 26 21:37:46 2008 +0000
1.3 @@ -211,7 +211,7 @@
1.4 extra_config=""
1.5 case "${CT_LIBC_GLIBC_EXTRA_CONFIG}" in
1.6 *enable-kernel*) ;;
1.7 - *) extra_config="${extra_config} --enable-kernel=$(echo ${CT_KERNEL_VERSION} |sed -r -e 's/^([^.]+\.[^.]+\.[^.]+)(|\.[^.]+)$/\1/;')"
1.8 + *) extra_config="${extra_config} --enable-kernel=$(echo ${CT_LIBC_GLIBC_MIN_KERNEL} |sed -r -e 's/^([^.]+\.[^.]+\.[^.]+)(|\.[^.]+)$/\1/;')"
1.9 esac
1.10 case "${CT_LIBC_GLIBC_EXTRA_CONFIG}" in
1.11 *-tls*) ;;
1.12 @@ -314,7 +314,7 @@
1.13 # We don't need to be conditional on wether the user did set different
1.14 # values, as they CT_LIBC_GLIBC_EXTRA_CONFIG is passed after extra_config
1.15
1.16 - extra_config="--enable-kernel=$(echo ${CT_KERNEL_VERSION} |sed -r -e 's/^([^.]+\.[^.]+\.[^.]+)(|\.[^.]+)$/\1/;')"
1.17 + extra_config="--enable-kernel=$(echo ${CT_LIBC_GLIBC_MIN_KERNEL} |sed -r -e 's/^([^.]+\.[^.]+\.[^.]+)(|\.[^.]+)$/\1/;')"
1.18
1.19 case "${CT_THREADS}" in
1.20 nptl) extra_config="${extra_config} --with-__thread --with-tls";;