Don't use pie on Android
This commit is contained in:
parent
244bb14fd5
commit
70dedbb1a2
@ -16,6 +16,8 @@ pub fn target() -> Target {
|
||||
// Many of the symbols defined in compiler-rt are also defined in libgcc. Android
|
||||
// linker doesn't like that by default.
|
||||
base.pre_link_args.push("-Wl,--allow-multiple-definition".to_string());
|
||||
// FIXME #17437 (and #17448): Android doesn't support position dependant executables anymore.
|
||||
base.position_independant_executables = false;
|
||||
|
||||
Target {
|
||||
data_layout: "e-p:32:32:32\
|
||||
|
Loading…
x
Reference in New Issue
Block a user