]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/patches/gcc-4.1.2-fix_linker_version_detection.patch
sendEmail: New addon
[people/teissler/ipfire-2.x.git] / src / patches / gcc-4.1.2-fix_linker_version_detection.patch
index c2f43be3580f9f5873172fb13a063a2463e928ee..36a756cef126cd94c239e4b8fbc906b0705fc646 100644 (file)
@@ -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 }'`