From a55352e6ab4717a1ab1e625ca2019052c3444a86 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: May 11 2005 15:14:36 +0000 Subject: use -mmmx/sse/sse2/... only for the relevant source files so that extended instruction sets only get used on suitable CPUs (#157409) --- diff --git a/gimp.spec b/gimp.spec index 0a22391..61e7308 100644 --- a/gimp.spec +++ b/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 +- 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 - version 2.2.7, fixes bug in SSE2 assembly for Lighten Only layer mode (#145771) and various other bugs