Add FreeBSD to host_triple

Add FreeBSD to `host_triple` so that the correct nightly compiler will
be downloaded.
This commit is contained in:
Daniel Robertson 2016-06-05 20:01:40 +00:00
parent 44126da60e
commit 5fc1b6c351

View file

@ -43,6 +43,8 @@ def host_triple():
os_type = "linux-androideabi"
elif os_type == "windows" or os_type.startswith("mingw64_nt-") or os_type.startswith("cygwin_nt-"):
os_type = "pc-windows-gnu"
elif os_type == "freebsd":
os_type = "unknown-freebsd"
else:
os_type = "unknown"