Fix RK3588 kernel build.
This commit is contained in:
parent
f1a9df8030
commit
880fe0fbf9
1 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
|||
diff --git a/Makefile b/Makefile
|
||||
index 60197900e..b0d6dbe83 100644
|
||||
--- 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
|
Loading…
Reference in a new issue