Android is not GNU
This commit is contained in:
parent
f31622a50b
commit
a24e2eddb1
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
use crate::spec::{LinkerFlavor, TargetOptions};
|
use crate::spec::{LinkerFlavor, TargetOptions};
|
||||||
|
|
||||||
pub fn opts() -> 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();
|
base.os = "android".to_string();
|
||||||
// Many of the symbols defined in compiler-rt are also defined in libgcc.
|
// Many of the symbols defined in compiler-rt are also defined in libgcc.
|
||||||
// Android's linker doesn't like that by default.
|
// Android's linker doesn't like that by default.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue