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:
parent
661a78dc57
commit
dd93bae938
|
@ -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}
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue