]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
pam: Fix build with GCC 15 on aarch64
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 May 2025 10:16:29 +0000 (10:16 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 12 May 2025 14:32:44 +0000 (14:32 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/pam

diff --git a/lfs/pam b/lfs/pam
index 8f3d144f8d7a1690ab36b43430a84ae41d62f0bd..b2847d0a64406892cf55d208881333b1e06263ce 100644 (file)
--- a/lfs/pam
+++ b/lfs/pam
@@ -32,6 +32,11 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
+# Don't fail on any linker warnings
+# I don't actually know why this has suddenly come up as it is a linker issue,
+# however, this all started with the update to GCC 15 and happens on aarch64.
+CFLAGS += -Wl,--no-fatal-warnings
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################