Fix build for x86 on x86_64.

As far as I can tell this fixes building on x86_64 with e.g.
'./configure --enable-mmx CFLAGS=-m32" or "rpmbuild --target i386 ..."
without breaking anything.


SVN revision: 41667
This commit is contained in:
Kim Woelders 2009-08-10 16:26:20 +00:00
parent 661a78dc57
commit dd93bae938
2 changed files with 3 additions and 5 deletions

View File

@ -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}

View File

@ -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 \