explicitly set CFLAGS,CXXFLAGS,LFLAGS

This commit is contained in:
Rex Dieter 2016-02-01 12:15:21 -06:00
parent 760efd2ca2
commit 561349f501

View File

@ -13,7 +13,7 @@
Summary: PyQt5 is Python bindings for Qt5
Name: python-qt5
Version: 5.5.1
Release: 5%{?dist}
Release: 6%{?dist}
# all BSD, except for GPLv2+ dbus bindings and examples
License: BSD and GPLv2+
@ -141,7 +141,8 @@ PATH=%{_qt5_bindir}:$PATH ; export PATH
--no-timestamp \
--qmake=%{_qt5_qmake} \
--qsci-api --qsci-api-destdir=%{_qt5_datadir}/qsci \
--verbose
--verbose \
CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" LFLAGS="%{?__global_ldflags}"
make %{?_smp_mflags}
%endif # with_python2
@ -155,7 +156,8 @@ pushd %{py3dir}
--no-timestamp \
--qmake=%{_qt5_qmake} \
--no-qsci-api \
--verbose
--verbose \
CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" LFLAGS="%{?__global_ldflags}"
make %{?_smp_mflags}
popd
@ -327,6 +329,9 @@ sed -i \
%changelog
* Mon Feb 01 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-6
- explicitly set CFLAGS,CXXFLAGS,LFLAGS
* Wed Jan 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.5.1-5
- %%description: mention PyQt5