mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-18 23:12:59 +02:00
gcc: fix linker detection patch.
This commit is contained in:
@@ -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 }'`
|
||||
|
||||
Reference in New Issue
Block a user