diff --git a/Makefile b/Makefile index e821f72..cb2fcba 100644 --- a/Makefile +++ b/Makefile @@ -526,6 +526,8 @@ endif # $(dot-config) # Defaults vmlinux but it is usually overridden in the arch makefile all: vmlinux +KBUILD_CFLAGS += -Wno-unused-but-set-variable + ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE KBUILD_CFLAGS += -Os else