[06/42] bash: Fix build with GCC 15

Message ID 20250502101632.1082010-6-michael.tremer@ipfire.org
State New
Headers
Series [01/42] gcc: Update to 15 |

Commit Message

Michael Tremer May 2, 2025, 10:15 a.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 lfs/bash | 3 +++
 1 file changed, 3 insertions(+)
  

Patch

diff --git a/lfs/bash b/lfs/bash
index 8717b1644..6822c61dd 100644
--- a/lfs/bash
+++ b/lfs/bash
@@ -31,6 +31,9 @@  DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
+# Fix build with GCC 15
+CFLAGS += -std=gnu17
+
 # Normal build or $(TOOLS_DIR) build.
 #
 ifeq "$(ROOT)" ""