Skip to content

Commit

Permalink
Auto merge of #57704 - lenoil98:patch-2, r=alexcrichton
Browse files Browse the repository at this point in the history
Update bootstrap.py

Add PowerPC64 support on FreeBSD
  • Loading branch information
bors committed Jan 20, 2019
2 parents 846ea58 + c2863dd commit e730697
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e730697

Please sign in to comment.