add correct flags
This commit is contained in:
parent
52ef45e79a
commit
9c12e23239
12
qt.spec
12
qt.spec
@ -11,7 +11,7 @@ Summary: Qt toolkit
|
|||||||
Name: qt
|
Name: qt
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 4.8.1
|
Version: 4.8.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
||||||
License: (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT
|
License: (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT
|
||||||
@ -455,10 +455,9 @@ RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
|
|||||||
%define platform linux-g++
|
%define platform linux-g++
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
sed -i \
|
sed -i -e "s|-O2|$RPM_OPT_FLAGS|g" \
|
||||||
-e "s|-O2|$RPM_OPT_FLAGS|g" \
|
mkspecs/%{platform}/qmake.conf \
|
||||||
-e "s|g++.conf|g++-multilib.conf|g" \
|
mkspecs/common/g*base.conf
|
||||||
mkspecs/%{platform}/qmake.conf
|
|
||||||
|
|
||||||
# undefine QMAKE_STRIP, so we get useful -debuginfo pkgs
|
# undefine QMAKE_STRIP, so we get useful -debuginfo pkgs
|
||||||
sed -i -e "s|^QMAKE_STRIP.*=.*|QMAKE_STRIP =|" mkspecs/common/linux.conf
|
sed -i -e "s|^QMAKE_STRIP.*=.*|QMAKE_STRIP =|" mkspecs/common/linux.conf
|
||||||
@ -1061,6 +1060,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 29 2012 Than Ngo <than@redhat.com> - 4.8.1-2
|
||||||
|
- add correct flags
|
||||||
|
|
||||||
* Wed Mar 28 2012 Than Ngo <than@redhat.com> - 4.8.1-1
|
* Wed Mar 28 2012 Than Ngo <than@redhat.com> - 4.8.1-1
|
||||||
- 4.8.1
|
- 4.8.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user