Auto merge of #57704 - lenoil98:patch-2, r=alexcrichton
Update bootstrap.py Add PowerPC64 support on FreeBSD
This commit is contained in:
commit
e73069767f
1 changed files with 3 additions and 0 deletions
|
@ -230,6 +230,9 @@ def default_build_triple():
|
||||||
err = "unknown OS type: {}".format(ostype)
|
err = "unknown OS type: {}".format(ostype)
|
||||||
sys.exit(err)
|
sys.exit(err)
|
||||||
|
|
||||||
|
if cputype == 'powerpc' and ostype == 'unknown-freebsd':
|
||||||
|
cputype = subprocess.check_output(
|
||||||
|
['uname', '-p']).strip().decode(default_encoding)
|
||||||
cputype_mapper = {
|
cputype_mapper = {
|
||||||
'BePC': 'i686',
|
'BePC': 'i686',
|
||||||
'aarch64': 'aarch64',
|
'aarch64': 'aarch64',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue