From 5cf044643dc194169af7d0a743ea75454e040288 Mon Sep 17 00:00:00 2001 From: Marco A L Barbosa Date: Sun, 30 Apr 2017 14:52:29 -0300 Subject: [PATCH] Change arm-linux-androideabi to correspond to the armeabi official ABI Fixes #40941. --- src/librustc_back/target/arm_linux_androideabi.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/librustc_back/target/arm_linux_androideabi.rs b/src/librustc_back/target/arm_linux_androideabi.rs index bccd5a41ab115..6bfe90af2ca16 100644 --- a/src/librustc_back/target/arm_linux_androideabi.rs +++ b/src/librustc_back/target/arm_linux_androideabi.rs @@ -13,7 +13,8 @@ use target::{Target, TargetOptions, TargetResult}; pub fn target() -> TargetResult { let mut base = super::android_base::opts(); - base.features = "+v7,+vfp3,+d16".to_string(); + // https://developer.android.com/ndk/guides/abis.html#armeabi + base.features = "+v5te".to_string(); base.max_atomic_width = Some(64); Ok(Target {