aarch64 CPU type is called arm64 on FreeBSD

This commit is contained in:
Jean-Sébastien Pédron 2017-02-03 08:56:46 +01:00
parent 458167e3a0
commit f6c6b31d26
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC
2 changed files with 3 additions and 1 deletions

2
configure vendored
View File

@ -517,7 +517,7 @@ case $CFG_CPUTYPE in
CFG_OSTYPE="${CFG_OSTYPE}eabihf" CFG_OSTYPE="${CFG_OSTYPE}eabihf"
;; ;;
aarch64) aarch64 | arm64)
CFG_CPUTYPE=aarch64 CFG_CPUTYPE=aarch64
;; ;;

View File

@ -379,6 +379,8 @@ class RustBuild(object):
ostype += 'eabihf' ostype += 'eabihf'
elif cputype == 'aarch64': elif cputype == 'aarch64':
cputype = 'aarch64' cputype = 'aarch64'
elif cputype == 'arm64':
cputype = 'aarch64'
elif cputype == 'mips': elif cputype == 'mips':
if sys.byteorder == 'big': if sys.byteorder == 'big':
cputype = 'mips' cputype = 'mips'