Android is not GNU

This commit is contained in:
Josh Stone 2021-11-12 09:09:08 -08:00
parent f31622a50b
commit a24e2eddb1

View 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.