From c5662879ff9ef705f8475e0ba9e0f9e2d4e7f0ac Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 12 Apr 2009 22:48:44 +0000 Subject: [PATCH] Move addition of MMX-OBJS to OBJS into common.mak instead of duplicating it. Originally committed as revision 18478 to svn://svn.ffmpeg.org/ffmpeg/trunk --- common.mak | 2 ++ libavcodec/Makefile | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common.mak b/common.mak index 9f1080f2fe..23907af9f2 100644 --- a/common.mak +++ b/common.mak @@ -57,6 +57,8 @@ uninstall: uninstall-libs uninstall-headers .PHONY: all depend dep *clean install* uninstall* examples testprogs endif +OBJS-$(HAVE_MMX) += $(MMX-OBJS-yes) + CFLAGS += $(CFLAGS-yes) OBJS += $(OBJS-yes) FFLIBS := $(FFLIBS-yes) $(FFLIBS) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 2768057fe9..5aaf61478b 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -463,7 +463,6 @@ OBJS-$(HAVE_MMX) += x86/cpuid.o \ x86/motion_est_mmx.o \ x86/mpegvideo_mmx.o \ x86/simple_idct_mmx.o \ - $(MMX-OBJS-yes) OBJS-$(ARCH_ALPHA) += alpha/dsputil_alpha.o \ alpha/dsputil_alpha_asm.o \