https://github.com/torvalds/linux
Revision 5efb946b9569abdfb8a42702d40a5c244096e932 authored by Sean Christopherson on 13 December 2022, 00:16:49 UTC, committed by Paolo Bonzini on 27 December 2022, 11:00:48 UTC
Include lib.mk before consuming $(CC) and document that lib.mk overwrites
$(CC) unless make was invoked with -e or $(CC) was specified after make
(which makes the environment override the Makefile).  Including lib.mk
after using it for probing, e.g. for -no-pie, can lead to weirdness.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221213001653.3852042-11-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 7cf2e73
History
Tip revision: 5efb946b9569abdfb8a42702d40a5c244096e932 authored by Sean Christopherson on 13 December 2022, 00:16:49 UTC
KVM: selftests: Include lib.mk before consuming $(CC)
Tip revision: 5efb946
File Mode Size
alloc
bindings
kernel
macros
.gitignore -rw-r--r-- 133 bytes
Makefile -rw-r--r-- 15.9 KB
bindgen_parameters -rw-r--r-- 667 bytes
compiler_builtins.rs -rw-r--r-- 1.7 KB
exports.c -rw-r--r-- 730 bytes
helpers.c -rw-r--r-- 2.2 KB

back to top