]> git.lizzy.rs Git - rust.git/commitdiff
Android is not GNU
authorJosh Stone <jistone@redhat.com>
Fri, 12 Nov 2021 17:09:08 +0000 (09:09 -0800)
committerJosh Stone <jistone@redhat.com>
Fri, 12 Nov 2021 17:09:08 +0000 (09:09 -0800)
compiler/rustc_target/src/spec/android_base.rs

index aaf81648c51b39f37971f9d90123e4218a73493d..0f01a78c8c592573c08a2fc71cb30fd770458c8b 100644 (file)
@@ -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.