diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-09-09 09:35:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-09-09 09:35:36 +0000 |
commit | c9f6858de83ec5a15e4d4bdf78185cbca231e5bf (patch) | |
tree | 4f06d3b25a1d1ab56921146e061c7ec1956d040d | |
parent | 945462edefe817d4137476ca941a83df5c56f91f (diff) | |
download | rockbox-c9f6858de83ec5a15e4d4bdf78185cbca231e5bf.tar.gz 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-x | tools/configure | 2 |
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`; | |||
1539 | 1539 | ||
1540 | # figure out the binutil version too and display it, mostly for the build | 1540 | # figure out the binutil version too and display it, mostly for the build |
1541 | # system etc to be able to see it easier | 1541 | # system etc to be able to see it easier |
1542 | ldver=`$LD --version | head -n 1 | cut "-d " -f4` | 1542 | ldver=`$LD --version | head -n 1 | sed -e 's/[^0-9.]//g'` |
1543 | 1543 | ||
1544 | if [ -z "$gccver" ]; then | 1544 | if [ -z "$gccver" ]; then |
1545 | echo "WARNING: The compiler you must use ($CC) is not in your path!" | 1545 | echo "WARNING: The compiler you must use ($CC) is not in your path!" |