[33/42] ipfire-netboot: Fix build with GCC 15

Message ID 20250502101632.1082010-33-michael.tremer@ipfire.org
State New
Headers
Series [01/42] gcc: Update to 15 |

Commit Message

Michael Tremer May 2, 2025, 10:16 a.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 lfs/ipfire-netboot | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/lfs/ipfire-netboot b/lfs/ipfire-netboot
index 9e7e3c5ea..c4e75bd81 100644
--- a/lfs/ipfire-netboot
+++ b/lfs/ipfire-netboot
@@ -78,9 +78,9 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	# Extract iPXE source
 	cd $(DIR_APP) && tar axf $(DIR_DL)/ipxe-$(PXE_VER).tar.gz
 	cd $(DIR_APP) && rm -rfv ipxe && ln -s ipxe-$(PXE_VER) ipxe
-	cd $(DIR_APP) && make $(MAKETUNING) bin/ipxe.lkrn
+	cd $(DIR_APP) && make $(MAKETUNING) bin/ipxe.lkrn CC="gcc -std=gnu99"
 ifeq "$(BUILD_ARCH)" "x86_64"
-	cd $(DIR_APP) && make $(MAKETUNING) bin-x86_64-efi/ipxe.efi
+	cd $(DIR_APP) && make $(MAKETUNING) bin-x86_64-efi/ipxe.efi CC="gcc -std=gnu99"
 endif
 
 	# Installation