Skip to content

Commit e730697

Browse files
committedJan 20, 2019
Auto merge of #57704 - lenoil98:patch-2, r=alexcrichton
Update bootstrap.py Add PowerPC64 support on FreeBSD
2 parents 846ea58 + c2863dd commit e730697

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/bootstrap/bootstrap.py

+3
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@ def default_build_triple():
230230
err = "unknown OS type: {}".format(ostype)
231231
sys.exit(err)
232232

233+
if cputype == 'powerpc' and ostype == 'unknown-freebsd':
234+
cputype = subprocess.check_output(
235+
['uname', '-p']).strip().decode(default_encoding)
233236
cputype_mapper = {
234237
'BePC': 'i686',
235238
'aarch64': 'aarch64',

0 commit comments

Comments
 (0)
Please sign in to comment.