]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
perl: Fix build with GCC 15
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 27 Apr 2025 16:57:24 +0000 (16:57 +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/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