]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/x86/kvm/Makefile
KVM: allow disabling -Werror
[linux.git] / arch / x86 / kvm / Makefile
index b19ef421084dff20ba0ce8b61c98c0c8878ef41b..e553f0fdd87d47dbd0fe4dc5cb79f5e5421e0e64 100644 (file)
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 ccflags-y += -Iarch/x86/kvm
+ccflags-$(CONFIG_KVM_WERROR) += -Werror
 
 KVM := ../../../virt/kvm