u-arm-on-64bit-kernel
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Sun, 12 Mar 2017 03:15:33 +0000 (03:15 +0000)
committerXimin Luo <infinity0@debian.org>
Sun, 12 Mar 2017 03:15:33 +0000 (03:15 +0000)
Gbp-Pq: Name u-arm-on-64bit-kernel.diff

configure
src/bootstrap/bootstrap.py

index 8d8ba584263b10df43948282a53a0c51275a8587..d90f0506319a1cf8d2b515f8ebb360c50cb9ea97 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 c946fdf3a7928cfdc7f270aad1271adeeb81f9fb..69f2355a3623a1c0528483da7c79690e46487010 100644 (file)
@@ -372,7 +372,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':