scripts/config.guess
changeset 2612 a52574521bea
parent 2334 f4e5daf96796
child 2698 7501f41e3bbf
     1.1 --- a/scripts/config.guess	Sat Mar 05 18:47:08 2011 +0100
     1.2 +++ b/scripts/config.guess	Thu Aug 18 16:05:48 2011 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
     1.5  #   2011 Free Software Foundation, Inc.
     1.6  
     1.7 -timestamp='2011-02-02'
     1.8 +timestamp='2011-06-03'
     1.9  
    1.10  # This file is free software; you can redistribute it and/or modify it
    1.11  # under the terms of the GNU General Public License as published by
    1.12 @@ -882,7 +882,13 @@
    1.13  	then
    1.14  	    echo ${UNAME_MACHINE}-unknown-linux-gnu
    1.15  	else
    1.16 -	    echo ${UNAME_MACHINE}-unknown-linux-gnueabi
    1.17 +	    if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
    1.18 +		| grep -q __ARM_PCS_VFP
    1.19 +	    then
    1.20 +		echo ${UNAME_MACHINE}-unknown-linux-gnueabi
    1.21 +	    else
    1.22 +		echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
    1.23 +	    fi
    1.24  	fi
    1.25  	exit ;;
    1.26      avr32*:Linux:*:*)
    1.27 @@ -972,7 +978,7 @@
    1.28  	echo ${UNAME_MACHINE}-unknown-linux-gnu
    1.29  	exit ;;
    1.30      tile*:Linux:*:*)
    1.31 -	echo ${UNAME_MACHINE}-tilera-linux-gnu
    1.32 +	echo ${UNAME_MACHINE}-unknown-linux-gnu
    1.33  	exit ;;
    1.34      vax:Linux:*:*)
    1.35  	echo ${UNAME_MACHINE}-dec-linux-gnu