distribution/projects/Rockchip/packages/u-boot/patches/RK3588/000-fix-gcc13.patch

16 lines
565 B
Diff
Raw Normal View History

2023-01-08 22:49:32 +00:00
diff --git a/Makefile b/Makefile
index 590fd4c1f..3165ec95f 100644
--- a/Makefile
+++ b/Makefile
2023-12-27 18:23:13 +00:00
@@ -606,6 +606,10 @@ endif
2023-01-08 22:49:32 +00:00
KBUILD_CFLAGS += $(call cc-option,-Wno-format-nonliteral)
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)
2023-12-27 18:23:13 +00:00
+KBUILD_CFLAGS += $(call cc-disable-warning, maybe-uninitialized)
+KBUILD_CFLAGS += $(call cc-disable-warning, enum-int-mismatch)
2023-01-08 22:49:32 +00:00
# turn jbsr into jsr for m68k
ifeq ($(ARCH),m68k)