distribution/projects/Rockchip/packages/linux/patches/RK3588/0005-disable-enum-int-mismatch-warning.patch
2023-12-28 13:30:06 +00:00

12 lines
492 B
Diff

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