From 60c160ec5fdb71eb44a74090e51fcbe23f5770b3 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 1 Apr 2020 19:06:09 +0300 Subject: [PATCH] Disable annobin for new GCC Signed-off-by: David Abdurachmanov --- macros | 2 +- redhat-rpm-config.spec | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/macros b/macros index ee0d81b..e11aaa0 100644 --- a/macros +++ b/macros @@ -218,7 +218,7 @@ print(result) # Add extra information to binary objects created by gcc for Fedora 28: # https://pagure.io/fesco/issue/1780 (accepted on 2017-10-30) # Use "%undefine _annotated_build" to disable. -%_annotated_build 1 +#%_annotated_build 1 %_annotated_cflags %{?_annotated_build:%{_annobin_cflags}} # Fail linking if there are undefined symbols. Required for proper diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index b288f38..37affa0 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -109,7 +109,6 @@ Requires: qt5-srpm-macros Requires: rpm >= 4.11.0 Requires: dwz >= 0.4 Requires: zip -Requires: (annobin if gcc) # for brp-mangle-shebangs Requires: %{_bindir}/find @@ -209,6 +208,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua %{_rpmconfigdir}/macros.d/macros.kmp %changelog +* Wed Apr 01 2020 David Abdurachmanov - 153-1.0.riscv64 +- Disable annobin (new GCC) + * Thu Feb 20 2020 Jason L Tibbitts III - 153-1 - Add dependency on fonts-srpm-macros, as those have now been approved by FPC.