summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2013-03-20 00:21:14 +0100
committerTorbjorn Granlund <tege@gmplib.org>2013-03-20 00:21:14 +0100
commitaf2382dee50931e62a75dcbe88783aae77ef1511 (patch)
tree5130bd5446162e1f4192e1a6fb246276e5fb467d /config.guess
parent7219af694ef486d4ee56430bee5da3e65487ee30 (diff)
downloadgmp-af2382dee50931e62a75dcbe88783aae77ef1511.tar.gz
Tack on "neon" for appropriate arm CPUs.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.guess b/config.guess
index bcd1d89f9..6b481b6a7 100755
--- a/config.guess
+++ b/config.guess
@@ -191,6 +191,7 @@ arm*-*-*)
0xc15) exact_cpu="armcortexr5";; # v7r
0xc23) exact_cpu="armcortexm3";; # v7m
esac
+ exact_cpu="${exact_cpu}`sed -n 's;^Features.*\(neon\).*;\1;p' /proc/cpuinfo 2>/dev/null`"
;;
ia64*-*-*)