Build with linker flags from redhat-rpm-config
This commit is contained in:
parent
e971aea4ef
commit
c539db87df
7
iw.spec
7
iw.spec
@ -1,6 +1,6 @@
|
||||
Name: iw
|
||||
Version: 4.14
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: A nl80211 based wireless configuration tool
|
||||
|
||||
License: ISC
|
||||
@ -23,7 +23,7 @@ only because most new wireless devices being sold are now SoftMAC.
|
||||
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
@ -38,6 +38,9 @@ make install DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 1 2018 Florian Weimer <fweimer@redhat.com> - 4.14-3
|
||||
- Build with linker flags from redhat-rpm-config
|
||||
|
||||
* Fri Jan 05 2018 John W. Linville <linville@redhat.com> - 4.14-2
|
||||
- Fixup bogus date in the changelog...
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user