diff options
| author | Josh Stone <jistone@redhat.com> | 2021-11-12 09:09:08 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2021-11-18 10:38:29 -0800 |
| commit | 4d156c37fc574d8c97d839ec272ee0fc044668e9 (patch) | |
| tree | 693b2d9654ebe1510adbae96f99bff0abb7b3ef6 | |
| parent | 69b4a8578ce2d958a90ed04198b1d7d38d1d1328 (diff) | |
| download | rust-4d156c37fc574d8c97d839ec272ee0fc044668e9.tar.gz rust-4d156c37fc574d8c97d839ec272ee0fc044668e9.zip | |
Android is not GNU
(cherry picked from commit a24e2eddb1f5b1fca76eb1a3a6079188f9d54fd7)
| -rw-r--r-- | compiler/rustc_target/src/spec/android_base.rs | 2 |
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. |
