From: Josh Stone Date: Fri, 12 Nov 2021 17:09:08 +0000 (-0800) Subject: Android is not GNU X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=a24e2eddb1f5b1fca76eb1a3a6079188f9d54fd7;p=rust.git Android is not GNU --- diff --git a/compiler/rustc_target/src/spec/android_base.rs b/compiler/rustc_target/src/spec/android_base.rs index aaf81648c51..0f01a78c8c5 100644 --- a/compiler/rustc_target/src/spec/android_base.rs +++ b/compiler/rustc_target/src/spec/android_base.rs @@ -1,7 +1,7 @@ use crate::spec::{LinkerFlavor, TargetOptions}; pub fn opts() -> TargetOptions { - let mut base = super::linux_gnu_base::opts(); + let mut base = super::linux_base::opts(); base.os = "android".to_string(); // Many of the symbols defined in compiler-rt are also defined in libgcc. // Android's linker doesn't like that by default.