]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
perl: Fix build with GCC 15
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 May 2025 10:15:55 +0000 (10:15 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 12 May 2025 14:32:43 +0000 (14:32 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/perl

index 81fc597b07df5054b15762813bc8500f39246ae2..c6da19ce8d9c1a395e0d11dc9e66e9cf17eb3eb5 100644 (file)
--- a/lfs/perl
+++ b/lfs/perl
@@ -39,6 +39,9 @@ else
   TARGET = $(DIR_INFO)/$(THISAPP)-tools
 endif
 
+# Fix build with GCC 15
+CFLAGS += -std=gnu17
+
 # Perl does not build with -j larger than 23
 MAX_PARALLELISM = 23