summaryrefslogtreecommitdiffstats
path: root/libmpeg2
diff options
context:
space:
mode:
authorrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-19 05:34:26 +0000
committerrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-19 05:34:26 +0000
commitd948870dd223a6963a44cb50aca4a217560e2419 (patch)
tree6b9439d5362550ab28a3486f779dab28a05526e8 /libmpeg2
parentc72c1486a3a4cfd69efce3a0f51d4eb2ab18bf98 (diff)
downloadmpv-d948870dd223a6963a44cb50aca4a217560e2419.tar.bz2
mpv-d948870dd223a6963a44cb50aca4a217560e2419.tar.xz
remove duplicate code and fix issue of compiling mmx code when we
shouldn't in one fell swoop! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19137 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpeg2')
-rw-r--r--libmpeg2/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/libmpeg2/Makefile b/libmpeg2/Makefile
index 0c4ccbf98c..77470298a9 100644
--- a/libmpeg2/Makefile
+++ b/libmpeg2/Makefile
@@ -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