u-sparc64-detection-2
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Mon, 6 Nov 2017 09:03:32 +0000 (09:03 +0000)
committerXimin Luo <infinity0@debian.org>
Mon, 6 Nov 2017 09:03:32 +0000 (09:03 +0000)
commit d7dec7c8d71b30fea6e4c5aca40adce1724ba87d
Author: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date:   Sun Oct 29 23:51:14 2017 +0100

    bootstrap: Add missing cputype matching for sparc64

Gbp-Pq: Name u-sparc64-detection-2.patch

src/bootstrap/bootstrap.py

index 9369a55ccb97bc6c82ac05a25c7a461fe71e198e..8837f13d48ac1da7ee6b037cd42718a6cb7a1adb 100644 (file)
@@ -654,7 +654,7 @@ class RustBuild(object):
                 raise ValueError('unknown byteorder: {}'.format(sys.byteorder))
             # only the n64 ABI is supported, indicate it
             ostype += 'abi64'
-        elif cputype == 'sparcv9':
+        elif cputype == 'sparcv9' or cputype == 'sparc64':
             pass
         else:
             err = "unknown cpu type: {}".format(cputype)