Same fix for dragonfly
This commit is contained in:
parent
4a6f4c9606
commit
244bb14fd5
1 changed files with 4 additions and 1 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue