Skip to content

Commit

Permalink
Same fix for dragonfly
Browse files Browse the repository at this point in the history
  • Loading branch information
emberian committed Nov 4, 2014
1 parent 4a6f4c9 commit 244bb14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/librustc_back/target/i686_unknown_dragonfly.rs
Expand Up @@ -11,13 +11,16 @@
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(),
target_endian: "little".to_string(),
target_word_size: "32".to_string(),
arch: "x86".to_string(),
target_os: "dragonfly".to_string(),
options: super::dragonfly_base::opts()
options: base,
}
}

0 comments on commit 244bb14

Please sign in to comment.