diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-08-07 07:51:39 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-08-07 07:51:39 -0700 |
commit | 5960642af99c6dc84b28e1bc69a617099b9dee97 (patch) | |
tree | 3f41b8e26321c52632403af34fcd528297ce733e /config.guess | |
parent | 36aed29d3774a156c88ca7110f3c12605d861b9c (diff) | |
download | gdb-5960642af99c6dc84b28e1bc69a617099b9dee97.zip gdb-5960642af99c6dc84b28e1bc69a617099b9dee97.tar.gz gdb-5960642af99c6dc84b28e1bc69a617099b9dee97.tar.bz2 |
Sync config.sub and config.guess with GCC
Sync with GCC
2015-07-28 Ben Elliston <bje@gnu.org>
* config.sub, config.guess: Import from upstream.
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config.guess b/config.guess index f7eb141..fddac42 100755 --- a/config.guess +++ b/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2015 Free Software Foundation, Inc. -timestamp='2015-03-04' +timestamp='2015-07-03' # 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 @@ -221,7 +221,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in release='-gnu' ;; *) - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: @@ -1038,7 +1038,7 @@ EOF echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |