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 \