From e76d51868f7ccb713488160baad207ef8eda1c86 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 5 Dec 2007 03:20:25 +0000 Subject: [PATCH] 2007-12-05 Lennert Buytenhek * config.guess (arm*:Linux:*:*): Determine ABI in use. --- ChangeLog | 4 ++++ config.guess | 11 +++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 076889f..64960f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-12-05 Lennert Buytenhek + + * config.guess (arm*:Linux:*:*): Determine ABI in use. + 2007-12-05 Steve Kenton Ben Elliston diff --git a/config.guess b/config.guess index 7fef1a3..bb157d5 100755 --- a/config.guess +++ b/config.guess @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. -timestamp='2007-11-19' +timestamp='2007-12-05' # 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 @@ -833,7 +833,14 @@ EOF echo ${UNAME_MACHINE}-pc-minix exit ;; 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 -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu