From f5101638b9f917dc4c569828ff3fee0c486ba8f8 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Wed, 30 Jul 2025 21:01:18 +0200 Subject: [PATCH] boot/syslinux: fix build with gcc-15.x Fixes build error with gcc-15.x: drivers/net/3c509-eisa.c:39:26: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct nic *, struct eisa_device *)' [-Wincompatible-pointer-types] For a similar fix see https://bugzilla.suse.com/show_bug.cgi?id=1243225 Signed-off-by: Bernd Kuhls Signed-off-by: Julien Olivain --- boot/syslinux/syslinux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/syslinux/syslinux.mk b/boot/syslinux/syslinux.mk index 127f6b3cc1..b8f022b189 100644 --- a/boot/syslinux/syslinux.mk +++ b/boot/syslinux/syslinux.mk @@ -65,7 +65,7 @@ define SYSLINUX_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE1) \ ASCIIDOC_OK=-1 \ A2X_XML_OK=-1 \ - CC="$(TARGET_CC)" \ + CC="$(TARGET_CC) -std=gnu17" \ LD="$(TARGET_LD)" \ OBJCOPY="$(TARGET_OBJCOPY)" \ AS="$(TARGET_AS)" \