From c9f6858de83ec5a15e4d4bdf78185cbca231e5bf Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 9 Sep 2007 09:35:36 +0000 Subject: [PATCH] improved the ld (binutils) version number extraction git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14651 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/configure b/tools/configure index 2f1511b19a..36295b5446 100755 --- a/tools/configure +++ b/tools/configure @@ -1539,7 +1539,7 @@ gccver=`$CC -dumpversion`; # figure out the binutil version too and display it, mostly for the build # system etc to be able to see it easier -ldver=`$LD --version | head -n 1 | cut "-d " -f4` +ldver=`$LD --version | head -n 1 | sed -e 's/[^0-9.]//g'` if [ -z "$gccver" ]; then echo "WARNING: The compiler you must use ($CC) is not in your path!"