mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
Same fix for dragonfly
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user