summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-22 04:06:14 +0000
committerSam James <sam@gentoo.org>2022-03-22 04:06:42 +0000
commite54d1e325411a252c0c267c63cb51c7ead227631 (patch)
tree843038751825bf099a5374e90616433cb2e58dd0 /sys-libs/efivar
parentapp-containers/reg: drop 0.16.1 (diff)
downloadgentoo-e54d1e325411a252c0c267c63cb51c7ead227631.tar.gz
gentoo-e54d1e325411a252c0c267c63cb51c7ead227631.tar.bz2
gentoo-e54d1e325411a252c0c267c63cb51c7ead227631.zip
sys-libs/efivar: adjust ia64-relro patch
Some extra fatal warning bits snuck in upstream, it looks like. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/efivar')
-rw-r--r--sys-libs/efivar/files/efivar-38-ia64-relro.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-libs/efivar/files/efivar-38-ia64-relro.patch b/sys-libs/efivar/files/efivar-38-ia64-relro.patch
index 2f3686cac444..e90736a0394b 100644
--- a/sys-libs/efivar/files/efivar-38-ia64-relro.patch
+++ b/sys-libs/efivar/files/efivar-38-ia64-relro.patch
@@ -23,6 +23,8 @@ The change drops `--fatal-warnings` option from gcc.spec entirely.
Rejected upstream in https://github.com/rhboot/efivar/pull/164.
+[sam: add extra hunk to fix 38 build.]
+
Reported-by: Émeric Maschino
Bug: https://bugs.gentoo.org/749963
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
@@ -43,3 +45,16 @@ index ef28e2b..4deead5 100644
--
2.34.1
+diff --git a/src/include/defaults.mk b/src/include/defaults.mk
+index 9024a3a..f5515fa 100644
+--- a/src/include/defaults.mk
++++ b/src/include/defaults.mk
+@@ -58,7 +58,7 @@ override LDFLAGS = $(CFLAGS) -L. $(_LDFLAGS) $(_CCLDFLAGS) \
+ -Wl,-z,now \
+ -Wl,-z,muldefs \
+ -Wl,-z,relro \
+- -Wl,--fatal-warnings \
++ -Wl,--no-fatal-warnings \
+ $(call family,LDFLAGS) $(call family,CCLDFLAGS) \
+ $(call pkg-config-ccldflags)
+ override CCLDFLAGS = $(LDFLAGS)