]> 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)
commitf790581c7ad3579e88f721b693cb46d114144a1c
tree062088ccc8f6e8d1afdb2c50f1c4166b6b4e355a
parent27012347c5f38ecc3a711e2c896525a63813d0e3
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