Same fix for mac32

This commit is contained in:
Corey Richardson 2014-11-03 00:03:21 -05:00
parent 0e03503f53
commit 4a6f4c9606
1 changed files with 4 additions and 2 deletions

View File

@ -11,6 +11,9 @@
use target::Target;
pub fn target() -> Target {
let mut base = super::apple_base::opts();
base.pre_link_args.push("-m32".to_string());
Target {
data_layout: "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16\
-i32:32:32-i64:32:64\
@ -22,7 +25,6 @@ pub fn target() -> Target {
target_word_size: "32".to_string(),
arch: "x86".to_string(),
target_os: "macos".to_string(),
options: super::apple_base::opts()
options: base,
}
}