Use CFLAGS & LDFLAGS from redhat-rpm-config

This commit is contained in:
Florian Weimer 2018-02-23 13:53:31 +01:00
parent 64eaa064d8
commit 5741f0eadd

View File

@ -3,7 +3,7 @@
Summary: EFI Boot Manager
Name: efibootmgr
Version: 15
Release: 4%{?dist}
Release: 5%{?dist}
Group: System Environment/Base
License: GPLv2+
URL: http://github.com/rhinstaller/%{name}/
@ -39,7 +39,8 @@ git config --unset user.email
git config --unset user.name
%build
make %{?_smp_mflags} EXTRA_CFLAGS='%{optflags}' EFIDIR=%{efidir}
make %{?_smp_mflags} CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}' \
EFIDIR=%{efidir}
%install
rm -rf %{buildroot}
@ -57,6 +58,9 @@ rm -rf %{buildroot}
%doc README
%changelog
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 15-5
- Use CFLAGS & LDFLAGS from redhat-rpm-config
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild