diff options
author | David Woodhouse | 2023-10-28 20:34:53 +0100 |
---|---|---|
committer | Paolo Bonzini | 2023-12-08 13:18:50 -0500 |
commit | 96f124015f825a4a186b8497e20cf87f6519c7b4 (patch) | |
tree | 73a0cae260578e955dd0e787d502476740779cfe /lib | |
parent | 4a073e813477be4ae95dfd23cb08baf36e93a29f (diff) |
KVM: selftests: add -MP to CFLAGS
Using -MD without -MP causes build failures when a header file is deleted
or moved. With -MP, the compiler will emit phony targets for the header
files it lists as dependencies, and the Makefiles won't refuse to attempt
to rebuild a C unit which no longer includes the deleted header.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Link: https://lore.kernel.org/r/9fc8b5395321abbfcaf5d78477a9a7cd350b08e4.camel@infradead.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions