distribution/projects/Rockchip/packages/u-boot/patches/RK3566-X55/0005-disable-enum-int-mismatch-warning.patch
2023-12-27 02:41:23 +00:00

15 lines
587 B
Diff

diff --git a/Makefile b/Makefile
index 842015e..d05d62b 100644
--- a/Makefile
+++ b/Makefile
@@ -597,8 +597,9 @@ KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
KBUILD_CFLAGS += $(call cc-disable-warning, dangling-pointer)
KBUILD_CFLAGS += $(call cc-disable-warning, address)
KBUILD_CFLAGS += $(call cc-disable-warning, maybe-uninitialized)
-
+KBUILD_CFLAGS += $(call cc-disable-warning, enum-int-mismatch)
KBUILD_CFLAGS += -g
+
# $(KBUILD_AFLAGS) sets -g, which causes gcc to pass a suitable -g<format>
# option to the assembler.
KBUILD_AFLAGS += -g