Hi,

2011/5/9 Henrique de Moraes Holschuh <h...@debian.org>:
> On Mon, 09 May 2011, Hector Oron wrote:
>> Note I have not tested the patch, if you (Konstantinos) could test it
>> great, if not I'll try to do so later on.

> I will wait for a report that the patch is correct and tested, then I will
> forward.

The patch was wrong. Not only because it was missing then in the if
clause, but also the check does not seem to work properly. Here there
is an updated and tested patch:

diff --git a/ChangeLog b/ChangeLog
index c76e2f3..2048333 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-09  Hector Oron <zu...@debian.org>
+           Konstantinos Margaritis <mar...@debian.org>
+
+       * config.guess: Add configuration support for
+       ${UNAME_MACHINE}-unknown-linux-gnueabihf on arm targets.
+
 2011-03-31  Kirk Hays  <kh...@hayshaus.com>
            Ben Elliston  <b...@gnu.org>

diff --git a/config.guess b/config.guess
index 187cd54..363b9ee 100755
--- a/config.guess
+++ b/config.guess
@@ -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 -dM - 2>/dev/null \
+               | grep -q __ARM_PCS_VFP
+           then
+               echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
+           else
+               echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+           fi
        fi
        exit ;;
     avr32*:Linux:*:*)

Best regards,
-- 
 Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to