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