u-fix-weird-arm-logic
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Mon, 17 Jul 2017 11:41:59 +0000 (12:41 +0100)
committerXimin Luo <infinity0@debian.org>
Mon, 17 Jul 2017 11:41:59 +0000 (12:41 +0100)
Gbp-Pq: Name u-fix-weird-arm-logic.diff

src/bootstrap/bootstrap.py

index 0a6a2513377c6e388ddfa1e9758de8050002505c..01f4661cef82ae4e0f412280ac8c5fc81eb70940 100644 (file)
@@ -469,10 +469,10 @@ class RustBuild(object):
             cputype = 'i686'
         elif cputype in {'xscale', 'arm'}:
             cputype = 'arm'
-        elif cputype in {'armv6l', 'armv7l', 'armv8l'}:
+        elif cputype == 'armv6l':
             cputype = 'arm'
             ostype += 'eabihf'
-        elif cputype == 'armv7l':
+        elif cputype in {'armv7l', 'armv8l'}:
             cputype = 'armv7'
             ostype += 'eabihf'
         elif cputype == 'aarch64':