about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2021-11-12 09:09:08 -0800
committerJosh Stone <jistone@redhat.com>2021-11-12 09:09:08 -0800
commita24e2eddb1f5b1fca76eb1a3a6079188f9d54fd7 (patch)
tree7a8dd3b86a016edaee8826c151ceb7bb968f954b
parentf31622a50b06e4e5775cf71d1dfe3e59ffc21aa5 (diff)
downloadrust-a24e2eddb1f5b1fca76eb1a3a6079188f9d54fd7.tar.gz
rust-a24e2eddb1f5b1fca76eb1a3a6079188f9d54fd7.zip
Android is not GNU
-rw-r--r--compiler/rustc_target/src/spec/android_base.rs2
1 files changed, 1 insertions, 1 deletions
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.