Pass linker flags properly

This commit is contained in:
Petr Písař 2015-12-09 09:02:47 +01:00
parent ab63573df9
commit 438d88089c

View File

@ -1,6 +1,6 @@
Name: whois
Version: 5.2.11
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Improved WHOIS client
Group: Applications/Internet
License: GPLv2+
@ -38,7 +38,7 @@ addresses and network names.
%build
make CONFIG_FILE="%{_sysconfdir}/%{cfgfile}" HAVE_LIBIDN=1 HAVE_ICONV=1 \
CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{__global_ldflags}" %{?_smp_mflags}
%install
@ -81,6 +81,9 @@ fi
%changelog
* Wed Dec 09 2015 Petr Pisar <ppisar@redhat.com> - 5.2.11-2
- Pass linker flags properly
* Tue Dec 08 2015 Petr Pisar <ppisar@redhat.com> - 5.2.11-1
- 5.2.11 bump