[25/42] postfix: Fix build with GCC 15

Message ID 20250502101632.1082010-25-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/postfix | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
  

Patch

diff --git a/lfs/postfix b/lfs/postfix
index c9fe4cbd8..c7c48895e 100644
--- a/lfs/postfix
+++ b/lfs/postfix
@@ -40,7 +40,9 @@  DEPS       =
 
 SERVICES   = postfix
 
-CCARGS     = `getconf LFS_CFLAGS` \
+CCARGS     = \
+	-std=gnu17 \
+	`getconf LFS_CFLAGS` \
 	-DDEF_DAEMON_DIR="'\"/usr/lib/postfix\"'" \
 	-DDEF_MANPAGE_DIR="'\"/usr/share/man\"'" \
 	-DNO_NIS