OSDN Git Service

configure: Do not force pie=no for non-x86
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 17 Dec 2019 23:47:37 +0000 (13:47 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 28 Mar 2020 21:09:44 +0000 (14:09 -0700)
commitd2cd29e30736afd4a1e8cac3cf4da360bbc65978
tree33a206ecd8bb5bcc43410052a5f7e03e0bcd48ad
parent64547a3bb6c92781372994e4e9b25a89f6c88074
configure: Do not force pie=no for non-x86

PIE is supported on many other hosts besides x86.

The default for non-x86 is now the same as x86: pie is used
if supported, and may be forced via --enable/--disable-pie.

The original commit (40d6444e91c) said:

  "Non-x86 are not changed, as they require TCG changes"

but I think that's wrong -- there's nothing about PIE that
affects TCG one way or another.

Tested on aarch64 (bionic) and ppc64le (centos 7) hosts.

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
configure