[31/42] parted: Fix build with GCC 15

Message ID 20250502101632.1082010-31-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/parted | 2 ++
 1 file changed, 2 insertions(+)
  

Patch

diff --git a/lfs/parted b/lfs/parted
index be7bc0bcd..b3632a3c0 100644
--- a/lfs/parted
+++ b/lfs/parted
@@ -34,6 +34,8 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
+# Fix build with GCC 15
+CFLAGS += -std=gnu17
 
 ###############################################################################
 # Top-level Rules