diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-07-07 10:17:34 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-07-07 10:17:34 +0200 |
commit | 887aefc742230be29499df92ad91e9ca73b3895d (patch) | |
tree | 8b19faa056938986ee74ce5f336e09cab6477a4c /scripts/config.guess | |
parent | f1c0186b2f0dd8eb14df1de1bda3dd7e79866dcb (diff) | |
download | crosstool-ng-887aefc742230be29499df92ad91e9ca73b3895d.tar.gz crosstool-ng-887aefc742230be29499df92ad91e9ca73b3895d.tar.bz2 crosstool-ng-887aefc742230be29499df92ad91e9ca73b3895d.zip |
scripts: update config.{guess,sub}
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/config.guess')
-rwxr-xr-x | scripts/config.guess | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/scripts/config.guess b/scripts/config.guess index 187cd54e..b02565c7 100755 --- a/scripts/config.guess +++ b/scripts/config.guess @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011 Free Software Foundation, Inc. -timestamp='2011-02-02' +timestamp='2011-06-03' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -882,7 +882,13 @@ EOF then echo ${UNAME_MACHINE}-unknown-linux-gnu else - echo ${UNAME_MACHINE}-unknown-linux-gnueabi + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabihf + fi fi exit ;; avr32*:Linux:*:*) @@ -972,7 +978,7 @@ EOF echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; tile*:Linux:*:*) - echo ${UNAME_MACHINE}-tilera-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu |