diff options
-rwxr-xr-x | tools/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index 651346ecd8..1f758a967d 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -4360,7 +4360,7 @@ gccver=`$CC -dumpversion`; | |||
4360 | if [ $uname = "Darwin" ]; then | 4360 | if [ $uname = "Darwin" ]; then |
4361 | ldver=`$LD -v 2>&1 | sed -e 's/[^0-9.-]//g'` | 4361 | ldver=`$LD -v 2>&1 | sed -e 's/[^0-9.-]//g'` |
4362 | else | 4362 | else |
4363 | ldver=`$LD --version | head -n 1 | sed -e 's/\ /\n/g' | tail -n 1` | 4363 | ldver=`$LD --version | sed -n '1p' | sed -e 's/.* \([0-9]*\)\.\([0-9]*\).*/\1\2/'` |
4364 | fi | 4364 | fi |
4365 | 4365 | ||
4366 | # Convert LD version to a number major*100 + minor | 4366 | # Convert LD version to a number major*100 + minor |