diff options
| author | MikaelUrankar <mikael.urankar@gmail.com> | 2019-02-02 16:41:38 +0100 |
|---|---|---|
| committer | MikaelUrankar <mikael.urankar@gmail.com> | 2019-02-13 12:19:50 +0100 |
| commit | adddee4946fb2138f8aa4bc56daafed939301535 (patch) | |
| tree | 7c6b536143c1a0bc8fae2140482c5ae0eb59bb14 /src/bootstrap/bootstrap.py | |
| parent | 1484d0d123860dbd79804e9996f3fa5b6f4a6d58 (diff) | |
| download | rust-adddee4946fb2138f8aa4bc56daafed939301535.tar.gz rust-adddee4946fb2138f8aa4bc56daafed939301535.zip | |
Add FreeBSD armv6 and armv7 targets
Diffstat (limited to 'src/bootstrap/bootstrap.py')
| -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 119b38bcc99..7813d9bd63c 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': |
