File: Do-not-use-ld-fatal-warnings.patch

package info (click to toggle)
efibootguard 0.21-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 796 kB
  • sloc: ansic: 7,805; makefile: 405; python: 326; sh: 84
file content (27 lines) | stat: -rw-r--r-- 753 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Date: Tue, 7 May 2024 09:36:45 +0200
From: Bastian Germann <bage@debian.org>
Forwarded: not-needed
Subject: Do not use ld fatal-warnings

fatal-warnings are almost guaranteed to break the build when using a more
recent linker than the upstream developers. Get rid of them so the package
can be built with some warnings and be maintained sanely in the long run.
---
 Makefile.am | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index c7aed67..b27ea87 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -293,7 +293,6 @@ efi_ldflags = \
 	-z max-page-size=4096 \
 	--warn-common \
 	--no-undefined \
-	--fatal-warnings \
 	$(LDFLAGS_NO_WARN_RWX_SEGMENTS) \
 	-L $(GNUEFI_LIB_DIR) \
 	$(GNUEFI_LIB_DIR)/crt0-efi-$(ARCH).o
-- 
2.43.0