13 lines
492 B
Diff
13 lines
492 B
Diff
|
diff --git a/Makefile b/Makefile
|
||
|
index 1c06eae06..9465e5561 100755
|
||
|
--- a/Makefile
|
||
|
+++ b/Makefile
|
||
|
@@ -710,6 +710,7 @@ KBUILD_CFLAGS += $(call cc-disable-warning, array-compare)
|
||
|
KBUILD_CFLAGS += $(call cc-disable-warning, stringop-overread)
|
||
|
KBUILD_CFLAGS += $(call cc-disable-warning, dangling-pointer)
|
||
|
KBUILD_CFLAGS += $(call cc-disable-warning, address)
|
||
|
+KBUILD_CFLAGS += $(call cc-disable-warning, enum-int-mismatch)
|
||
|
|
||
|
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
|
||
|
KBUILD_CFLAGS += -Os
|