From 84f23fd9bf9d915473b49ec759099be26c903a07 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 12 Sep 2011 23:43:57 +0200 Subject: [PATCH] gcc: fix linker detection patch. --- src/patches/gcc-4.1.2-fix_linker_version_detection.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }'` -- 2.39.5