Skip to content

Commit

Permalink
i686-linux-android: set -mcpu to pentium4.
Browse files Browse the repository at this point in the history
To allow SSE2 to be used.
  • Loading branch information
overminder committed Aug 23, 2015
1 parent a1b2deb commit 6a7ed8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/librustc_back/target/i686_linux_android.rs
Expand Up @@ -11,13 +11,16 @@
use target::Target;

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

Target {
llvm_target: "i686-linux-android".to_string(),
target_endian: "little".to_string(),
target_pointer_width: "32".to_string(),
arch: "x86".to_string(),
target_os: "android".to_string(),
target_env: "gnu".to_string(),
options: super::android_base::opts(),
options: base,
}
}

0 comments on commit 6a7ed8f

Please sign in to comment.