report gnueabi if appropriate for arm (Lennert Buytenhek, #243523)

This commit is contained in:
Jeremy Katz 2007-06-19 14:35:41 -04:00
parent 85ff3763b6
commit e54f487738
1 changed files with 8 additions and 1 deletions

9
config.guess vendored
View File

@ -809,7 +809,14 @@ EOF
echo ${UNAME_MACHINE}-pc-minix
exit 0 ;;
arm*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
eval $set_cc_for_build
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep __ARM_EABI__ >/dev/null
then
echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnu
else
echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnueabi
fi
exit 0 ;;
cris:Linux:*:*)
echo cris-axis-linux-gnu