]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
ipfire-netboot: Fix build with GCC 15
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Apr 2025 10:20:09 +0000 (10:20 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 May 2025 10:16:27 +0000 (10:16 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/ipfire-netboot

index 9e7e3c5ea4ad2aea3cff1f95e6b7a7f1d6bf7c63..c4e75bd8115e2dbea4dcc8724457a03ea6a1a8bd 100644 (file)
@@ -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