From: Arne Fitzenreiter Date: Mon, 12 Sep 2011 21:43:57 +0000 (+0200) Subject: gcc: fix linker detection patch. X-Git-Tag: v2.9-core53~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=84f23fd9bf9d915473b49ec759099be26c903a07;p=ipfire-2.x.git gcc: fix linker detection patch. --- diff --git a/src/patches/gcc-4.1.2-fix_linker_version_detection.patch b/src/patches/gcc-4.1.2-fix_linker_version_detection.patch index c2f43be358..36a756cef1 100644 --- a/src/patches/gcc-4.1.2-fix_linker_version_detection.patch +++ b/src/patches/gcc-4.1.2-fix_linker_version_detection.patch @@ -6,7 +6,7 @@ diff -Naur gcc-4.1.2.org/libstdc++-v3/configure gcc-4.1.2/libstdc++-v3/configure ldver=`$LD --version 2>/dev/null | head -1 | \ - sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` -+ sed -e 's/GNU ld (GNU binutils) \([0-9.][0-9.]*\).*/\1/'` ++ sed -e 's/GNU ld .*) \([0-9.][0-9.]*\).*/\1/'` glibcxx_gnu_ld_version=`echo $ldver | \ $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`