[39/42] pam: Fix build with GCC 15 on aarch64

Message ID 20250502101632.1082010-39-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/pam | 5 +++++
 1 file changed, 5 insertions(+)
  

Patch

diff --git a/lfs/pam b/lfs/pam
index 8f3d144f8..b2847d0a6 100644
--- 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
 ###############################################################################