diff --git a/xen/Makefile b/xen/Makefile index 360fb6dcae..21832d6402 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -393,7 +393,7 @@ CFLAGS-$(CONFIG_CC_SPLIT_SECTIONS) += -ffunction-sections -fdata-sections CFLAGS += -nostdinc -fno-builtin -fno-common CFLAGS += -Werror -Wredundant-decls -Wwrite-strings -Wno-pointer-arith -$(call cc-option-add,CFLAGS,CC,-Wdeclaration-after-statement) +CFLAGS += -Wdeclaration-after-statement $(call cc-option-add,CFLAGS,CC,-Wvla) CFLAGS += -pipe -D__XEN__ -include $(srctree)/include/xen/config.h CFLAGS-$(CONFIG_DEBUG_INFO) += -g