blob: 51335294df71d5164cb5179a545575286ce02042 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|