mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-05 12:25:13 +00:00
Update bootstrap.py
Add PowerPC64 support on FreeBSD
This commit is contained in:
parent
daa53a52a2
commit
c2863dd1b4
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user