summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorXimin Luo <infinity0@pwned.gg>2017-03-06 21:42:55 +0100
committerAlex Crichton <alex@alexcrichton.com>2017-03-10 08:13:21 -0800
commit0a55c8e659f0fc540b740101f7a02ab28e300aa4 (patch)
tree07baf96f61880fd49a53ffc559380dcf91ecddf0 /configure
parentf573db4f80c75f156df8a743f456bf087ec81dc2 (diff)
downloadrust-0a55c8e659f0fc540b740101f7a02ab28e300aa4.tar.gz
rust-0a55c8e659f0fc540b740101f7a02ab28e300aa4.zip
Support armhf abi on 64-bit ARM cpus
They report their `uname -m` as armv8l rather than aarch64.

Patch originally by Matthias Klose <doko@debian.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index be8628de628..d8861dacafa 100755
--- a/configure
+++ b/configure
@@ -512,7 +512,7 @@ case $CFG_CPUTYPE in
         CFG_OSTYPE="${CFG_OSTYPE}eabihf"
         ;;
 
-    armv7l)
+    armv7l | armv8l)
         CFG_CPUTYPE=armv7
         CFG_OSTYPE="${CFG_OSTYPE}eabihf"
         ;;