use -mmmx/sse/sse2/... only for the relevant source files so that extended
instruction sets only get used on suitable CPUs (#157409)
This commit is contained in:
parent
668448ccda
commit
a55352e6ab
11
gimp.spec
11
gimp.spec
@ -14,7 +14,7 @@ Version: 2.2.7
|
||||
%define minorver 200
|
||||
%define microver %(ver=%{version}; echo ${ver##*.*.})
|
||||
#define prever pre2
|
||||
Release: %{?prever:0.0.%{prever}.}1
|
||||
Release: %{?prever:0.0.%{prever}.}2
|
||||
Epoch: 2
|
||||
License: GPL, LGPL
|
||||
Group: Applications/Multimedia
|
||||
@ -57,6 +57,7 @@ Patch1: gimp-2.0.1-gimphelpmissing.patch
|
||||
Patch2: gimp-2.2.3-icontheme.patch
|
||||
Patch3: gimp-2.2.4-gcc4.patch
|
||||
Patch4: gimp-2.2.4-gifload.patch
|
||||
Patch5: gimp-2.2.7-cpuinstructionset.patch
|
||||
|
||||
%description
|
||||
The GIMP (GNU Image Manipulation Program) is a powerful image
|
||||
@ -85,6 +86,7 @@ extensions.
|
||||
%patch2 -p1 -b .icontheme
|
||||
%patch3 -p1 -b .gcc4
|
||||
%patch4 -p1 -b .gifload
|
||||
%patch5 -p1 -b .cpuinstructionset
|
||||
|
||||
%build
|
||||
libtoolize --copy --force
|
||||
@ -97,9 +99,6 @@ LIBAA="disable"; export LIBAA
|
||||
if [ ! -f configure ]; then
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --quiet $MYARCH_FLAGS --prefix=%{_prefix}
|
||||
fi
|
||||
%ifarch %ix86 x86_64
|
||||
CFLAGS="%optflags -msse -msse2" CXXFLAGS="%optflags -msse -msse2" \
|
||||
%endif
|
||||
%configure \
|
||||
--disable-perl \
|
||||
%if %_enable_python
|
||||
@ -316,6 +315,10 @@ fi
|
||||
%{_libdir}/pkgconfig/*
|
||||
|
||||
%changelog
|
||||
* Wed May 11 2005 Nils Philippsen <nphilipp@redhat.com>
|
||||
- use -mmmx/sse/sse2/... only for the relevant source files so that extended
|
||||
instruction sets only get used on suitable CPUs (#157409)
|
||||
|
||||
* Mon May 09 2005 Nils Philippsen <nphilipp@redhat.com>
|
||||
- version 2.2.7, fixes bug in SSE2 assembly for Lighten Only layer mode
|
||||
(#145771) and various other bugs
|
||||
|
Loading…
x
Reference in New Issue
Block a user