diff --git a/imlib2.spec.in b/imlib2.spec.in index ee08815..8dd606f 100644 --- a/imlib2.spec.in +++ b/imlib2.spec.in @@ -128,6 +128,9 @@ id3 tag image loader/saver for Imlib2 %{configure} --prefix=%{_prefix} \ %ifarch x86_64 --disable-mmx \ +%endif +%ifarch i386 i486 i586 i686 + --enable-mmx \ %endif $RPM_CONFIGURE_OPTS %{__make} %{?_smp_mflags} %{?mflags} diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index e179519..81d3bf2 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -63,11 +63,6 @@ updates.h \ ximage.c \ ximage.h -AS = $(CC) -CCAS = $(CC) -ASFLAGS = -I$(top_srcdir) -I$(top_builddir) -CCASFLAGS = -I$(top_srcdir) -I$(top_builddir) - MMX_SRCS = \ asm_blend.S \ asm_blend_cmod.S \