android: try harder to force PIE for android 5+
This may work around ghc's -no-pie flag. Untested.
This commit is contained in:
parent
f4e1cd2a8a
commit
1bed62bda9
4 changed files with 62 additions and 38 deletions
|
@ -6,5 +6,6 @@ if (grep { $_ eq "-r" || $_ eq "--relocatable" } @ARGV) {
|
|||
exec($prog,@ARGV) || die "failed to run $prog";
|
||||
}
|
||||
else {
|
||||
exec($prog,@opts,@ARGV) || die "failed to run $prog";
|
||||
my @args=grep { ! m/-no-pie/ } @ARGV;
|
||||
exec($prog,@opts,@args) || die "failed to run $prog";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue