selftests: kvm: fix for compilers that do not support -no-pie
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Apr 2019 13:51:19 +0000 (15:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Apr 2019 13:38:05 +0000 (15:38 +0200)
commitc2390f16fc5b847a22f442a190d459beba07e86f
tree062088ccc8f6e8d1afdb2c50f1c4166b6b4e355a
parentc68c21ca929771a1f128d886359f9229d31cf80c
selftests: kvm: fix for compilers that do not support -no-pie

-no-pie was added to GCC at the same time as their configuration option
--enable-default-pie.  Compilers that were built before do not have
-no-pie, but they also do not need it.  Detect the option at build
time.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/Makefile