Another attempt at injecting LDFLAGS

This commit is contained in:
Florian Weimer 2018-02-09 11:22:25 +01:00
parent 24bb1b12cf
commit 2346cb64a7

View File

@ -1,6 +1,6 @@
Name: ipcalc
Version: 0.2.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: IP network address calculator
# This is an updated version of ipcalc originally found
@ -31,7 +31,7 @@ or check the validity of an address.
%setup -q
%build
CFLAGS="${CFLAGS:-%optflags}" LDFLAGS="$RPM_LD_FLAGS" \
CFLAGS="${CFLAGS:-%optflags} $RPM_LD_FLAGS" \
LIBPATH=%{_libdir} make %{?_smp_mflags}
%install
@ -51,6 +51,9 @@ make check
%{_mandir}/man1/ipcalc.1*
%changelog
* Fri Feb 9 2018 Florian Weimer <fweimer@redhat.com> - 0.2.2-4
- Another attempt at injecting LDFLAGS
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild