From: Michael Tremer Date: Mon, 28 Apr 2025 09:13:18 +0000 (+0000) Subject: cpio: Fix build with GCC 15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc7d3815e7ee4cfeca23f4654070a1f4346a23ca;p=people%2Fms%2Fipfire-2.x.git cpio: Fix build with GCC 15 Signed-off-by: Michael Tremer --- diff --git a/lfs/cpio b/lfs/cpio index b8b6e12fe..f0f2c3f12 100644 --- a/lfs/cpio +++ b/lfs/cpio @@ -32,7 +32,8 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) -CFLAGS += -fcommon +# Fix build with GCC 15 +CFLAGS += -std=gnu17 -fcommon ############################################################################### # Top-level Rules