summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-09-09 09:35:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-09-09 09:35:36 +0000
commitc9f6858de83ec5a15e4d4bdf78185cbca231e5bf (patch)
tree4f06d3b25a1d1ab56921146e061c7ec1956d040d
parent945462edefe817d4137476ca941a83df5c56f91f (diff)
downloadrockbox-c9f6858de83ec5a15e4d4bdf78185cbca231e5bf.tar.gz
rockbox-c9f6858de83ec5a15e4d4bdf78185cbca231e5bf.tar.bz2
rockbox-c9f6858de83ec5a15e4d4bdf78185cbca231e5bf.zip
improved the ld (binutils) version number extraction
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14651 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/configure2
1 files changed, 1 insertions, 1 deletions
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!"