u-sparc64-detection-2
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Mon, 18 Dec 2017 18:46:25 +0000 (18:46 +0000)
committerXimin Luo <infinity0@debian.org>
Mon, 18 Dec 2017 18:46:25 +0000 (18:46 +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 4a8c3dcebcb498619186894cd0d92ccdea4d56b1..a37e70e1fdfc97acc16f4b71deb5e4ea0d68d297 100644 (file)
@@ -294,7 +294,7 @@ def default_build_triple():
             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)