diff --git a/gimp.spec b/gimp.spec index 075c12f..0a22391 100644 --- a/gimp.spec +++ b/gimp.spec @@ -97,6 +97,9 @@ 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 +319,7 @@ fi * 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 +- on x86 and x86_64, use -msse and -msse2 to accomodate newer compilers * Wed Apr 27 2005 Jeremy Katz - 2:2.2.6-2 - silence %%post