diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2019-03-08 09:41:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-08 09:41:36 +0100 |
| commit | 19e39cb9cb2e040f71bffd8a9e07890579ceeae6 (patch) | |
| tree | 2363180849108b786ccf59d8cfe57b59b272afd3 /src/bootstrap | |
| parent | 0547ceb200f0385ba437e1808b468ec81e683c64 (diff) | |
| parent | adddee4946fb2138f8aa4bc56daafed939301535 (diff) | |
| download | rust-19e39cb9cb2e040f71bffd8a9e07890579ceeae6.tar.gz rust-19e39cb9cb2e040f71bffd8a9e07890579ceeae6.zip | |
Rollup merge of #58080 - MikaelUrankar:freebsd_arm, r=sanxiyn
Add FreeBSD armv6 and armv7 targets
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/bootstrap.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index c98d8b8ecf4..8af7aa4856c 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -262,6 +262,10 @@ def default_build_triple(): cputype = 'arm' if ostype == 'linux-android': ostype = 'linux-androideabi' + elif ostype == 'unknown-freebsd': + cputype = subprocess.check_output( + ['uname', '-p']).strip().decode(default_encoding) + ostype = 'unknown-freebsd' elif cputype == 'armv6l': cputype = 'arm' if ostype == 'linux-android': |
