From: Anup Patel Date: Fri, 26 Nov 2021 13:03:45 +0000 (+0530) Subject: KVM: selftests: Add EXTRA_CFLAGS in top-level Makefile X-Git-Tag: v5.17-rc1~69^2~49^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=788490e798a707cea75d80448f5c6c5f322ada6e;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-and-tested-by: Atish Patra Reviewed-and-tested-by: Sean Christopherson --- diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile index 17342b575e855..869edc2a5a34d 100644 --- a/tools/testing/selftests/kvm/Makefile +++ b/tools/testing/selftests/kvm/Makefile @@ -133,7 +133,7 @@ endif CFLAGS += -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 \ -fno-stack-protector -fno-PIE -I$(LINUX_TOOL_INCLUDE) \ -I$(LINUX_TOOL_ARCH_INCLUDE) -I$(LINUX_HDR_PATH) -Iinclude \ - -I$(