From 25ebda27debd132ccf0d70b02559ac16e8b5f2ed Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 23 Feb 2018 13:39:45 +0100 Subject: [PATCH] Use LDFLAGS from redhat-rpm-config --- dwz.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dwz.spec b/dwz.spec index e71c628..fdbd42b 100644 --- a/dwz.spec +++ b/dwz.spec @@ -1,7 +1,7 @@ Summary: DWARF optimization and duplicate removal tool Name: dwz Version: 0.12 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ and GPLv3+ Group: Development/Tools # git archive --format=tar --remote=git://sourceware.org/git/dwz.git \ @@ -23,8 +23,8 @@ and using DW_TAG_imported_unit to import it into each CU that needs it. %setup -q %build -make %{?_smp_mflags} CFLAGS='%{optflags}' prefix=%{_prefix} \ - mandir=%{_mandir} bindir=%{_bindir} +make %{?_smp_mflags} CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}' \ + prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} %install rm -rf %{buildroot} @@ -38,6 +38,9 @@ make DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} %{_mandir}/man1/dwz.1* %changelog +* Fri Feb 23 2018 Florian Weimer - 0.12-7 +- Use LDFLAGS from redhat-rpm-config + * Wed Feb 07 2018 Fedora Release Engineering - 0.12-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild