1
Fork 0

Same fix for dragonfly

This commit is contained in:
Corey Richardson 2014-11-03 00:29:38 -05:00
parent 4a6f4c9606
commit 244bb14fd5

View file

@ -11,6 +11,9 @@
use target::Target;
pub fn target() -> Target {
let mut base = super::draginfly_base::opts();
base.pre_link_args.push("-m32".to_string());
Target {
data_layout: "e-p:32:32-f64:32:64-i64:32:64-f80:32:32-n8:16:32".to_string(),
llvm_target: "i686-unknown-dragonfly".to_string(),
@ -18,6 +21,6 @@ pub fn target() -> Target {
target_word_size: "32".to_string(),
arch: "x86".to_string(),
target_os: "dragonfly".to_string(),
options: super::dragonfly_base::opts()
options: base,
}
}