diff options
| author | lenoil98 <hamiltcl@verizon.net> | 2019-01-17 13:20:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-17 13:20:00 -0500 |
| commit | c2863dd1b43f4f1fe63a209922f7e72db53f9663 (patch) | |
| tree | f686586d7a32c75dd9acef2dae11aa1ab6a4c500 /src/bootstrap | |
| parent | daa53a52a2667533d5fe59bfcc5b8614b79c3d31 (diff) | |
| download | rust-c2863dd1b43f4f1fe63a209922f7e72db53f9663.tar.gz rust-c2863dd1b43f4f1fe63a209922f7e72db53f9663.zip | |
Update bootstrap.py
Add PowerPC64 support on FreeBSD
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/bootstrap.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index f3dbae6909a..e8c1594bda3 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', |
