Commit 00666e7b authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Ben Elliston

* config.guess (*:FreeBSD:*:*): Refactor CPU handling.

	Canonicalize i386-*-freebsd* to i586-*-freebsd*.
Signed-off-by: default avatarBen Elliston <bje@gnu.org>
parent 2fbde7c1
2017-03-05 Gerald Pfeifer <gerald@pfeifer.com>
* config.guess (*:FreeBSD:*:*): Refactor CPU handling.
Canonicalize i386-*-freebsd* to i586-*-freebsd*.
2017-02-07 Ben Elliston <bje@gnu.org> 2017-02-07 Ben Elliston <bje@gnu.org>
Reported by Hugues Lefebvre <hugues.lefebvre@lusis.fr>. Reported by Hugues Lefebvre <hugues.lefebvre@lusis.fr>.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Attempt to guess a canonical system name. # Attempt to guess a canonical system name.
# Copyright 1992-2017 Free Software Foundation, Inc. # Copyright 1992-2017 Free Software Foundation, Inc.
timestamp='2017-02-07' timestamp='2017-03-05'
# This file is free software; you can redistribute it and/or modify it # 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 # under the terms of the GNU General Public License as published by
...@@ -837,10 +837,11 @@ EOF ...@@ -837,10 +837,11 @@ EOF
UNAME_PROCESSOR=`/usr/bin/uname -p` UNAME_PROCESSOR=`/usr/bin/uname -p`
case ${UNAME_PROCESSOR} in case ${UNAME_PROCESSOR} in
amd64) amd64)
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; UNAME_PROCESSOR=x86_64 ;;
*) i386)
echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; UNAME_PROCESSOR=i586 ;;
esac esac
echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit ;; exit ;;
i*:CYGWIN*:*) i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin echo ${UNAME_MACHINE}-pc-cygwin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment