diff --git a/Makefile b/Makefile index 58a165b02af1e27acb6d2635f3c9ab0d58c5cb00..8004421a93d134ac85b5512ae190f44c370ceb9a 100644 --- a/Makefile +++ b/Makefile @@ -570,7 +570,7 @@ endif # $(dot-config) all: vmlinux ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE -KBUILD_CFLAGS += -Os +KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,) else KBUILD_CFLAGS += -O2 endif