Build playback with LDFLAGS from redhat-rpm-config

This commit is contained in:
Florian Weimer 2018-02-09 17:24:21 +01:00
parent 3c145898e8
commit 141fbfcf26

View File

@ -4,7 +4,7 @@
Summary: An X Window System based IBM 3278/3279 terminal emulator
Name: x3270
Version: 3.6ga4
Release: 2%{?dist}
Release: 3%{?dist}
License: BSD
Group: Applications/Internet
URL: http://x3270.sourceforge.net/
@ -79,7 +79,7 @@ done
make %{?_smp_mflags} CCOPTIONS="$RPM_OPT_FLAGS" LIBX3270DIR=%{_sysconfdir}
# build playback tool
( cd Playback; make CFLAGS="$RPM_OPT_FLAGS" )
( cd Playback; make CFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS" )
%install
@ -135,6 +135,9 @@ cd %{_fontdir} && %{_prefix}/bin/mkfontdir
%changelog
* Fri Feb 9 2018 Florian Weimer <fweimer@redhat.com> - 3.6ga4-3
- Build playback with LDFLAGS from redhat-rpm-config
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org>
- Remove obsolete scriptlets