configure: Always detect -no-pie toolchain support
commitb26341241bbfe9cc126479a0dbed5d40d547f242
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 17 Dec 2019 23:54:56 +0000 (17 13:54 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 28 Mar 2020 21:09:44 +0000 (28 14:09 -0700)
treeea2bd9d921004856e8f4ac4c10b200908d43c410
parentd2cd29e30736afd4a1e8cac3cf4da360bbc65978
configure: Always detect -no-pie toolchain support

The CFLAGS_NOPIE and LDFLAGS_NOPIE variables are used
in pc-bios/optionrom/Makefile, which has nothing to do
with the PIE setting of the main qemu executables.

This overrides any operating system default to build
all executables as PIE, which is important for ROMs.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
configure