Skip to content

Commit c2863dd

Browse files
authored
Update bootstrap.py
Add PowerPC64 support on FreeBSD
1 parent daa53a5 commit c2863dd

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)