Skip to content

Commit 148b5e4

Browse files
committed
Update i686-linux-android features to match android ABI.
1 parent 088d417 commit 148b5e4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/librustc_back/target/i686_linux_android.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ use target::Target;
1212

1313
pub fn target() -> Target {
1414
let mut base = super::android_base::opts();
15-
base.cpu = "pentium4".to_string();
15+
1616
base.max_atomic_width = 64;
1717

18+
// http://developer.android.com/ndk/guides/abis.html#x86
19+
base.cpu = "pentiumpro".to_string();
20+
base.features = "+mmx,+sse,+sse2,+sse3,+ssse3".to_string();
21+
1822
Target {
1923
llvm_target: "i686-linux-android".to_string(),
2024
target_endian: "little".to_string(),

0 commit comments

Comments
 (0)