// option. This file may not be copied, modified, or distributed
// except according to those terms.
+use LinkerFlavor;
use target::{Target, TargetResult};
+// See https://developer.android.com/ndk/guides/abis.html#x86
+// for target ABI requirements.
+
pub fn target() -> TargetResult {
let mut base = super::android_base::opts();
// http://developer.android.com/ndk/guides/abis.html#x86
base.cpu = "pentiumpro".to_string();
base.features = "+mmx,+sse,+sse2,+sse3,+ssse3".to_string();
+ base.stack_probes = true;
Ok(Target {
llvm_target: "i686-linux-android".to_string(),
target_os: "android".to_string(),
target_env: "".to_string(),
target_vendor: "unknown".to_string(),
+ linker_flavor: LinkerFlavor::Gcc,
options: base,
})
}