From 238e3f87ebddcdafadab788e8ecee3e0b99b9322f91a86120b726d22f2579f14 Mon Sep 17 00:00:00 2001 From: Gary Ching-Pang Lin Date: Wed, 31 Jul 2019 03:41:57 +0000 Subject: [PATCH] Accepting request 719976 from home:gary_lin:branches:Base:System - Add pesign-boo1143063-remove-var-tracking.patch to remove var-tracking from the default CFLAGS (boo#1143063) OBS-URL: https://build.opensuse.org/request/show/719976 OBS-URL: https://build.opensuse.org/package/show/Base:System/pesign?expand=0&rev=52 --- pesign-boo1143063-remove-var-tracking.patch | 13 +++++++++++++ pesign.changes | 6 ++++++ pesign.spec | 3 +++ 3 files changed, 22 insertions(+) create mode 100644 pesign-boo1143063-remove-var-tracking.patch diff --git a/pesign-boo1143063-remove-var-tracking.patch b/pesign-boo1143063-remove-var-tracking.patch new file mode 100644 index 0000000..cfb41ff --- /dev/null +++ b/pesign-boo1143063-remove-var-tracking.patch @@ -0,0 +1,13 @@ +diff --git a/Make.defaults b/Make.defaults +index 7892d73..2d18005 100644 +--- a/Make.defaults ++++ b/Make.defaults +@@ -47,7 +47,7 @@ cflags = $(CFLAGS) $(ARCH3264) \ + $(call pkg-config-cflags) + clang_ccldflags = + gcc_ccldflags = -fno-merge-constants \ +- -fvar-tracking -fvar-tracking-assignments -fkeep-inline-functions \ ++ -fvar-tracking-assignments -fkeep-inline-functions \ + -Wl,--fatal-warnings,--no-allow-shlib-undefined,--default-symver \ + -Wl,-O2 -Wl,--no-undefined-version -Wl,-z,relro,-z,now \ + -Wl,--no-add-needed,--no-copy-dt-needed-entries,--as-needed diff --git a/pesign.changes b/pesign.changes index ee626c9..deeed3a 100644 --- a/pesign.changes +++ b/pesign.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 31 03:26:37 UTC 2019 - Gary Ching-Pang Lin + +- Add pesign-boo1143063-remove-var-tracking.patch to remove + var-tracking from the default CFLAGS (boo#1143063) + ------------------------------------------------------------------- Thu Jul 11 09:00:21 UTC 2019 - Gary Ching-Pang Lin diff --git a/pesign.spec b/pesign.spec index bdc75c2..89ba7cf 100644 --- a/pesign.spec +++ b/pesign.spec @@ -34,6 +34,8 @@ Patch3: pesign-run.patch Patch4: pesign-fix-authvar-write-loop.patch # PATCH-FIX-UPSTREAM pesign-efikeygen-Fix-the-build-with-nss-3.44.patch glin@suse.com -- Fix the NSS 3.44 compilation error Patch5: pesign-efikeygen-Fix-the-build-with-nss-3.44.patch +# PATCH-FIX-SUSE pesign-boo1143063-remove-var-tracking.patch -- boo#1143063 Remove var-tracking from default CFLAGS +Patch6: pesign-boo1143063-remove-var-tracking.patch BuildRequires: efivar-devel BuildRequires: libuuid-devel BuildRequires: mozilla-nss-devel @@ -55,6 +57,7 @@ with the PE and Authenticode specifications. %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build make %{?_smp_mflags} CFLAGS="%{optflags}"