u-arm-on-64bit-kernel
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Wed, 19 Apr 2017 20:47:18 +0000 (21:47 +0100)
committerXimin Luo <infinity0@debian.org>
Wed, 19 Apr 2017 20:47:18 +0000 (21:47 +0100)
Gbp-Pq: Name u-arm-on-64bit-kernel.diff

configure
src/bootstrap/bootstrap.py

index 3d0f0e2ec5fe68f0df6fdde56e4d84560f2950f3..79f1d6f149e3ed39678db0daeaaf1e26be84be4a 100755 (executable)
--- a/configure
+++ b/configure
@@ -513,7 +513,7 @@ case $CFG_CPUTYPE in
         CFG_OSTYPE="${CFG_OSTYPE}eabihf"
         ;;
 
-    armv7l)
+    armv7l | armv8l)
         CFG_CPUTYPE=armv7
         CFG_OSTYPE="${CFG_OSTYPE}eabihf"
         ;;
index 442973e4668046bddeab68c960a9a0b3f00e6768..04cc6efc98b3280b2a3cb0645e3f43fe7eb24c41 100644 (file)
@@ -374,7 +374,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':