Update bootstrap.py

Add PowerPC64 support on FreeBSD
This commit is contained in:
lenoil98 2019-01-17 13:20:00 -05:00 committed by GitHub
parent daa53a52a2
commit c2863dd1b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -230,6 +230,9 @@ def default_build_triple():
err = "unknown OS type: {}".format(ostype)
sys.exit(err)
if cputype == 'powerpc' and ostype == 'unknown-freebsd':
cputype = subprocess.check_output(
['uname', '-p']).strip().decode(default_encoding)
cputype_mapper = {
'BePC': 'i686',
'aarch64': 'aarch64',