about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-03-10 16:51:23 -0600
committerAlex Crichton <alex@alexcrichton.com>2017-03-10 16:18:27 -0800
commit0ce745bc305bb210f5ddaf60801b47fafb84b986 (patch)
treef7e142497128bace1a2a870a551adc508ef7dff8 /src/bootstrap
parent5c715dee38240cc3c4394cb32430f052e9fb0e9a (diff)
parent0a55c8e659f0fc540b740101f7a02ab28e300aa4 (diff)
downloadrust-0ce745bc305bb210f5ddaf60801b47fafb84b986.tar.gz
rust-0ce745bc305bb210f5ddaf60801b47fafb84b986.zip
Rollup merge of #40261 - infinity0:patch-1, r=alexcrichton
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 'src/bootstrap')
-rw-r--r--src/bootstrap/bootstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
index 7dd53f41a21..4f41d337592 100644
--- a/src/bootstrap/bootstrap.py
+++ b/src/bootstrap/bootstrap.py
@@ -465,7 +465,7 @@ class RustBuild(object):
             cputype = 'i686'
         elif cputype in {'xscale', 'arm'}:
             cputype = 'arm'
-        elif cputype == 'armv7l':
+        elif cputype in {'armv7l', 'armv8l'}:
             cputype = 'arm'
             ostype += 'eabihf'
         elif cputype == 'aarch64':