KVM: selftests: Add EXTRA_CFLAGS in top-level Makefile
authorAnup Patel <anup.patel@wdc.com>
Fri, 26 Nov 2021 13:03:45 +0000 (18:33 +0530)
committerAnup Patel <anup@brainfault.org>
Thu, 6 Jan 2022 09:47:46 +0000 (15:17 +0530)
commit788490e798a707cea75d80448f5c6c5f322ada6e
tree816e1df8f1e79b2e5680d923b002d4d5fe1aa2bf
parenta457fd5660efa9cf960d2461156a1025bfdb13fa
KVM: selftests: Add EXTRA_CFLAGS in top-level Makefile

We add EXTRA_CFLAGS to the common CFLAGS of top-level Makefile which will
allow users to pass additional compile-time flags such as "-static".

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-and-tested-by: Atish Patra <atishp@rivosinc.com>
Reviewed-and-tested-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/Makefile