From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <development+bounces-289-archive=lists.ipfire.org@lists.ipfire.org>
Received: from mail02.haj.ipfire.org (localhost [127.0.0.1])
	by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Zpn0738F2z37NL
	for <archive@lists.ipfire.org>; Fri,  2 May 2025 10:16:55 +0000 (UTC)
Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (secp384r1)
	 client-signature RSA-PSS (4096 bits))
	(Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK))
	by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Zpmzy5GM3z33gV
	for <development@lists.ipfire.org>; Fri,  2 May 2025 10:16:46 +0000 (UTC)
Received: from michael.haj.ipfire.org (michael.haj.ipfire.org [172.28.1.242])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits)
	 client-signature ECDSA (secp384r1))
	(Client CN "michael.haj.ipfire.org", Issuer "E6" (verified OK))
	by mail01.ipfire.org (Postfix) with ESMTPS id 4Zpmzy2CFwz317;
	Fri,  2 May 2025 10:16:46 +0000 (UTC)
Received: by michael.haj.ipfire.org (Postfix, from userid 0)
	id 4Zpmzx326czV5vQ; Fri,  2 May 2025 10:16:45 +0000 (UTC)
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Cc: Michael Tremer <michael.tremer@ipfire.org>
Subject: [PATCH 11/42] ppp: Fix build with GCC 15
Date: Fri,  2 May 2025 10:16:01 +0000
Message-Id: <20250502101632.1082010-11-michael.tremer@ipfire.org>
X-Mailer: git-send-email 2.39.5
In-Reply-To: <20250502101632.1082010-1-michael.tremer@ipfire.org>
References: <20250502101632.1082010-1-michael.tremer@ipfire.org>
Precedence: list
List-Id: <development.lists.ipfire.org>
List-Subscribe: <https://lists.ipfire.org/>,
 <mailto:development+subscribe@lists.ipfire.org?subject=subscribe>
List-Unsubscribe: <https://lists.ipfire.org/>,
 <mailto:development+unsubscribe@lists.ipfire.org?subject=unsubscribe>
List-Post: <mailto:development@lists.ipfire.org>
List-Help: <mailto:development+help@lists.ipfire.org?subject=help>
Sender: <development@lists.ipfire.org>
Mail-Followup-To: <development@lists.ipfire.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 lfs/ppp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lfs/ppp b/lfs/ppp
index dba82a0b9..b0f7c66b2 100644
--- a/lfs/ppp
+++ b/lfs/ppp
@@ -34,7 +34,8 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
-CFLAGS    += -fno-strict-aliasing
+# Fix build with GCC 15
+CFLAGS    += -std=gnu17 -fno-strict-aliasing
 
 ###############################################################################
 # Top-level Rules
-- 
2.39.5