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