]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8166b4e75bb449b9890d479acd8bf8ceb9209110
tree062088ccc8f6e8d1afdb2c50f1c4166b6b4e355a
parent6c724fa960e05fd2d7ed141992b8e1eee43a4065
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