crosstool-ng/patches/glibc/2.9/600-recent-binutils.patch

38 lines
1.7 KiB
Diff
Raw Permalink Normal View History

diff -r -u glibc-cvs-2.9.orig/configure glibc-cvs-2.9/configure
--- glibc-cvs-2.9.orig/configure 2008-11-11 01:50:11.000000000 -0800
+++ glibc-cvs-2.9/configure 2009-11-24 17:52:27.000000000 -0800
@@ -4531,7 +4531,7 @@
ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 2.1[3-9]*)
+ 2.1[3-9]*|2.20)
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
@@ -4594,7 +4594,7 @@
ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 2.1[3-9]*)
+ 2.1[3-9]*|2.20)
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
diff -r -u glibc-cvs-2.9.orig/configure.in glibc-cvs-2.9/configure.in
--- glibc-cvs-2.9.orig/configure.in 2008-11-11 01:50:11.000000000 -0800
+++ glibc-cvs-2.9/configure.in 2009-11-24 17:53:35.000000000 -0800
@@ -844,10 +844,10 @@
# Accept binutils 2.13 or newer.
AC_CHECK_PROG_VER(AS, $AS, --version,
[GNU assembler.* \([0-9]*\.[0-9.]*\)],
- [2.1[3-9]*], AS=: critic_missing="$critic_missing as")
+ [2.1[3-9]*|2.20], AS=: critic_missing="$critic_missing as")
AC_CHECK_PROG_VER(LD, $LD, --version,
[GNU ld.* \([0-9][0-9]*\.[0-9.]*\)],
- [2.1[3-9]*], LD=: critic_missing="$critic_missing ld")
+ [2.1[3-9]*|2.20], LD=: critic_missing="$critic_missing ld")
# We need the physical current working directory. We cannot use the
# "pwd -P" shell builtin since that's not portable. Instead we try to