Skip to content

Commit

Permalink
Android is not GNU
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Nov 12, 2021
1 parent f31622a commit a24e2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_target/src/spec/android_base.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit a24e2ed

Please sign in to comment.