1
Fork 0

Auto merge of #57704 - lenoil98:patch-2, r=alexcrichton

Update bootstrap.py

Add PowerPC64 support on FreeBSD
This commit is contained in:
bors 2019-01-20 21:49:24 +00:00
commit e73069767f

View file

@ -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',