diff options
author | Mirko Vogt <mirko@openwrt.org> | 2011-06-17 22:51:24 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2011-06-17 22:51:24 +0000 |
commit | 74fecd036611e881eeace99d31017e4b70bac70c (patch) | |
tree | 19cc91047e9ea9667bec1f9477b8e6ddb72c9569 /toolchain/glibc/patches/2.7/103-binutils_2_20.patch | |
parent | 8d48672c109beb1a9cf515aea7c99c10af85f672 (diff) | |
download | mtk-20170518-74fecd036611e881eeace99d31017e4b70bac70c.zip mtk-20170518-74fecd036611e881eeace99d31017e4b70bac70c.tar.gz mtk-20170518-74fecd036611e881eeace99d31017e4b70bac70c.tar.bz2 |
fix glibc to work with all versions of binutils, fixes #7133 - thanks to marek siller
SVN-Revision: 27210
Diffstat (limited to 'toolchain/glibc/patches/2.7/103-binutils_2_20.patch')
-rw-r--r-- | toolchain/glibc/patches/2.7/103-binutils_2_20.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/toolchain/glibc/patches/2.7/103-binutils_2_20.patch b/toolchain/glibc/patches/2.7/103-binutils_2_20.patch new file mode 100644 index 0000000..66d44ad --- /dev/null +++ b/toolchain/glibc/patches/2.7/103-binutils_2_20.patch @@ -0,0 +1,15 @@ +--- glibc-2.7-old/configure.in 2010-08-05 15:41:13.379279183 +0200 ++++ glibc-2.7-new/configure.in 2010-08-05 15:46:30.236940604 +0200 +@@ -842,10 +842,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.1[0-9][0-9]*|2.[2-9]*]|[3-9].*, 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.1[0-9][0-9]*|2.[2-9]*]|[3-9].*, 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 |