]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/gcc-4.1.2-fix_linker_version_detection.patch
core65: close core65.
[ipfire-2.x.git] / src / patches / gcc-4.1.2-fix_linker_version_detection.patch
CommitLineData
2b56ee99
AF
1diff -Naur gcc-4.1.2.org/libstdc++-v3/configure gcc-4.1.2/libstdc++-v3/configure
2--- gcc-4.1.2.org/libstdc++-v3/configure 2007-01-29 11:51:01.000000000 +0100
3+++ gcc-4.1.2/libstdc++-v3/configure 2011-08-29 19:25:22.973430586 +0200
4@@ -8281,7 +8281,7 @@
5 if test x"$with_gnu_ld" = x"yes"; then
6
7 ldver=`$LD --version 2>/dev/null | head -1 | \
8- sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
84f23fd9 9+ sed -e 's/GNU ld .*) \([0-9.][0-9.]*\).*/\1/'`
2b56ee99
AF
10
11 glibcxx_gnu_ld_version=`echo $ldver | \
12 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`