summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorTorbjorn Granlund <torbjorng@google.com>2016-03-25 20:30:43 +0100
committerTorbjorn Granlund <torbjorng@google.com>2016-03-25 20:30:43 +0100
commite7aa052ba6735fc56ce2c4cc45fbb2839b442bbc (patch)
treea3ec0b491d425b5af28ff0a0c33452e4f2d199e8 /config.guess
parent7e2635c1a1e5c88775c1ec4ec0b2f8538cab9a92 (diff)
downloadgmp-e7aa052ba6735fc56ce2c4cc45fbb2839b442bbc.tar.gz
Prefix all arm CPUs with "arm" to accommodate our matchers.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.guess b/config.guess
index b4d431b7f..09b67bf56 100755
--- a/config.guess
+++ b/config.guess
@@ -176,10 +176,10 @@ arm*-*-* | aarch64-*-*)
cpu_code=`sed -n 's/^CPU part.*\(0x.*\)$/\1/p' /proc/cpuinfo 2>/dev/null | sort -r | head -n 1 2>/dev/null`
cpu_implementer=`sed -n 's/^CPU implementer.*\(0x.*\)$/\1/p' /proc/cpuinfo 2>/dev/null | head -n 1 2>/dev/null`
case "${cpu_implementer}_${cpu_code}" in
- 0x53_0x001) exact_cpu=exynosm1 ;;
+ 0x53_0x001) exact_cpu=armexynosm1 ;;
0x51_0x800) exact_cpu=armcortexa57 ;;
- 0x43_0x0a1) exact_cpu=thunderx ;;
- 0x50_0x000) exact_cpu=xgene1 ;;
+ 0x43_0x0a1) exact_cpu=armthunderx ;;
+ 0x50_0x000) exact_cpu=armxgene1 ;;
esac
if test -z "$exact_cpu"; then
case "$cpu_code" in