configure: cleanup -fno-pie detection
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 29 Mar 2022 11:07:25 +0000 (13:07 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jun 2022 09:11:37 +0000 (11:11 +0200)
commitb9eae9efae4ba63af823f3c27d1bd421a4f4f092
tree9036e25c04960134b6129db53c30c4653d4a4eea
parentb5569e5b56d66e48695486f889fce36a3b502e91
configure: cleanup -fno-pie detection

Place it only inside the 'if test "$pie" = "no"' conditional.  Since
commit 43924d1e53 ("pc-bios/optionrom: detect -fno-pie", 2022-05-12),
the PIE options are detected independently by pc-bios/optionrom/Makefile,
and the CFLAGS_NOPIE/LDFLAGS_NOPIE variables are not used anymore.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure