1.1 --- a/scripts/build/libc/glibc.sh Fri Oct 02 00:04:24 2009 +0200
1.2 +++ b/scripts/build/libc/glibc.sh Sat Oct 03 18:19:39 2009 +0200
1.3 @@ -292,12 +292,6 @@
1.4 # Add some default CC args
1.5 glibc_version_major=$(echo ${CT_LIBC_VERSION} |sed -r -e 's/^([[:digit:]]+).*/\1/')
1.6 glibc_version_minor=$(echo ${CT_LIBC_VERSION} |sed -r -e 's/^[[:digit:]]+[\.-_]([[:digit:]]+).*/\1/')
1.7 - # In case we're using a snapshot, fake a >=2.6 version.
1.8 - if [ "${CT_LIBC_V_LATEST}" = "y" \
1.9 - -o "${CT_LIBC_V_date}" = "y" ]; then
1.10 - glibc_version_major=3
1.11 - glibc_version_minor=0
1.12 - fi
1.13 if [ ${glibc_version_major} -eq 2 -a ${glibc_version_minor} -ge 6 \
1.14 -o ${glibc_version_major} -gt 2 ]; then
1.15 # Don't use -pipe: configure chokes on it for glibc >= 2.6.
1.16 @@ -407,12 +401,6 @@
1.17 # Add some default CC args
1.18 glibc_version_major=$(echo ${CT_LIBC_VERSION} |sed -r -e 's/^([[:digit:]]+).*/\1/')
1.19 glibc_version_minor=$(echo ${CT_LIBC_VERSION} |sed -r -e 's/^[[:digit:]]+[\.-_]([[:digit:]]+).*/\1/')
1.20 - # In case we're using a snapshot, fake a >=2.6 version.
1.21 - if [ "${CT_LIBC_V_LATEST}" = "y" \
1.22 - -o "${CT_LIBC_V_date}" = "y" ]; then
1.23 - glibc_version_major=3
1.24 - glibc_version_minor=0
1.25 - fi
1.26 if [ ${glibc_version_major} -eq 2 -a ${glibc_version_minor} -ge 6 \
1.27 -o ${glibc_version_major} -gt 2 ]; then
1.28 # Don't use -pipe: configure chokes on it for glibc >= 2.6.