ensure proper link flags (for hardening)

This commit is contained in:
Rex Dieter 2016-02-01 18:40:45 -06:00
parent 0b161fc21e
commit dbfc0e0c0f

View File

@ -3,7 +3,7 @@ Name: highlight
Summary: Universal source code to formatted text converter Summary: Universal source code to formatted text converter
Version: 3.22 Version: 3.22
Release: 6%{?dist} Release: 7%{?dist}
Group: Development/Tools Group: Development/Tools
License: GPLv3 License: GPLv3
@ -40,11 +40,11 @@ A Qt-based GUI for the highlight source code formatter source.
%setup -q %setup -q
%build %build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS= make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{?__global_ldflags}"
rm -rf src/gui-qt/moc* rm -rf src/gui-qt/moc*
make gui %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \ make gui %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
QMAKE="qmake-qt4" \ QMAKE="qmake-qt4" \
LDFLAGS= LDFLAGS="%{?__global_ldflags}"
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
@ -77,6 +77,9 @@ desktop-file-install \
%{_datadir}/pixmaps/highlight.xpm %{_datadir}/pixmaps/highlight.xpm
%changelog %changelog
* Mon Feb 01 2016 Rex Dieter <rdieter@fedoraproject.org> 3.22-7
- ensure proper link flags (for hardening)
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 3.22-6 * Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 3.22-6
- Rebuilt for Boost 1.60 - Rebuilt for Boost 1.60