From c2863dd1b43f4f1fe63a209922f7e72db53f9663 Mon Sep 17 00:00:00 2001 From: lenoil98 Date: Thu, 17 Jan 2019 13:20:00 -0500 Subject: [PATCH] Update bootstrap.py Add PowerPC64 support on FreeBSD --- src/bootstrap/bootstrap.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index f3dbae6909a4d..e8c1594bda343 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -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',