Skip to content

Commit

Permalink
Update i686-linux-android features to match android ABI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nercury committed May 15, 2016
1 parent 088d417 commit 148b5e4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/librustc_back/target/i686_linux_android.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ use target::Target;

pub fn target() -> Target {
let mut base = super::android_base::opts();
base.cpu = "pentium4".to_string();

base.max_atomic_width = 64;

// http://developer.android.com/ndk/guides/abis.html#x86
base.cpu = "pentiumpro".to_string();
base.features = "+mmx,+sse,+sse2,+sse3,+ssse3".to_string();

Target {
llvm_target: "i686-linux-android".to_string(),
target_endian: "little".to_string(),
Expand Down

0 comments on commit 148b5e4

Please sign in to comment.