aboutsummaryrefslogtreecommitdiff
path: root/src/boot/fe
diff options
context:
space:
mode:
authorRob Arnold <[email protected]>2011-02-09 10:23:07 -0800
committerGraydon Hoare <[email protected]>2011-02-09 11:37:10 -0800
commit6466795a70df56f89405df1ed438c8f8b58fed3a (patch)
tree954e677bb8b3016fda54357dc3ea1ddb951612b2 /src/boot/fe
parentAdd FreeBSD support in the Makefile (diff)
downloadrust-6466795a70df56f89405df1ed438c8f8b58fed3a.tar.xz
rust-6466795a70df56f89405df1ed438c8f8b58fed3a.zip
Add FreeBSD_x86_elf target to rustboot
Diffstat (limited to 'src/boot/fe')
-rw-r--r--src/boot/fe/cexp.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/boot/fe/cexp.ml b/src/boot/fe/cexp.ml
index 56f3e878..0f216fc2 100644
--- a/src/boot/fe/cexp.ml
+++ b/src/boot/fe/cexp.ml
@@ -628,6 +628,7 @@ let parse_crate_file
let (os, arch, libc) =
match sess.Session.sess_targ with
Linux_x86_elf -> ("linux", "x86", "libc.so.6")
+ | FreeBSD_x86_elf -> ("freebsd", "x86", "libc.so.7")
| Win32_x86_pe -> ("win32", "x86", "msvcrt.dll")
| MacOS_x86_macho -> ("macos", "x86", "libc.dylib")
in