Signed-off-by: Michael Tremer <[email protected]>
---
 lfs/perl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lfs/perl b/lfs/perl
index 81fc597b0..c6da19ce8 100644
--- 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
 
-- 
2.39.5


Reply via email to