Don't use pie on Android

This commit is contained in:
Corey Richardson 2014-11-03 19:16:43 -05:00
parent 244bb14fd5
commit 70dedbb1a2

View file

@ -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\