remove duplicate code and fix issue of compiling mmx code when we
authorrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>
Wed, 19 Jul 2006 05:34:26 +0000 (05:34 +0000)
committerrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>
Wed, 19 Jul 2006 05:34:26 +0000 (05:34 +0000)
shouldn't in one fell swoop!

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@19137 b3059339-0415-0410-9bf9-f77b7e298cf2

libmpeg2/Makefile

index 0c4ccbf..7747029 100644 (file)
@@ -16,11 +16,7 @@ OBJS = $(SRCS:.c=.o)
 INCLUDE = -I. -I../libvo -I..
 CFLAGS  = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY
 
-ifeq ($(TARGET_ARCH_X86),yes)
-SRCS += idct_mmx.c motion_comp_mmx.c
-endif
-
-ifeq ($(TARGET_ARCH_X86_64),yes)
+ifeq ($(TARGET_MMX),yes)
 SRCS += idct_mmx.c motion_comp_mmx.c
 endif