mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-26 09:06:38 +12:00
* config.guess (alpha:Linux:*:*): Guard against missing
/proc/cpuinfo by redirecting standard error to /dev/null. Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
parent
1912ca5041
commit
6f5b719255
@ -1,3 +1,8 @@
|
||||
2019-12-21 Torbjörn Granlund <tg@gmplib.org>
|
||||
|
||||
* config.guess (alpha:Linux:*:*): Guard against missing
|
||||
/proc/cpuinfo by redirecting standard error to /dev/null.
|
||||
|
||||
2019-09-12 Ben Elliston <bje@gnu.org>
|
||||
|
||||
* testsuite/config-guess.data: Sort.
|
||||
|
4
config.guess
vendored
4
config.guess
vendored
@ -2,7 +2,7 @@
|
||||
# Attempt to guess a canonical system name.
|
||||
# Copyright 1992-2019 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2019-09-10'
|
||||
timestamp='2019-12-21'
|
||||
|
||||
# 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
|
||||
@ -924,7 +924,7 @@ EOF
|
||||
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
|
||||
exit ;;
|
||||
alpha:Linux:*:*)
|
||||
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
||||
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in
|
||||
EV5) UNAME_MACHINE=alphaev5 ;;
|
||||
EV56) UNAME_MACHINE=alphaev56 ;;
|
||||
PCA56) UNAME_MACHINE=alphapca56 ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user