distribution/projects/Rockchip/packages/u-boot/patches/RK3588/000-fix-gcc13.patch
2023-12-27 18:23:13 +00:00

15 lines
565 B
Diff
Executable file

diff --git a/Makefile b/Makefile
index 590fd4c1f..3165ec95f 100644
--- a/Makefile
+++ b/Makefile
@@ -606,6 +606,10 @@ endif
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)
+KBUILD_CFLAGS += $(call cc-disable-warning, maybe-uninitialized)
+KBUILD_CFLAGS += $(call cc-disable-warning, enum-int-mismatch)
# turn jbsr into jsr for m68k
ifeq ($(ARCH),m68k)