# HG changeset patch # User diego # Date 1227221238 0 # Node ID 46f183b8ce8bdd6cd8d40f84785ae02fbc5bad4f # Parent ebf5202a8fdf4961993ef1174e7b8058e612cead Use standard OBJS-$(HAVE_MMX) trick for MMX objects instead of surrounding them by an ifdef. diff -r ebf5202a8fdf -r 46f183b8ce8b Makefile --- a/Makefile Thu Nov 20 19:04:35 2008 +0000 +++ b/Makefile Thu Nov 20 22:47:18 2008 +0000 @@ -390,8 +390,7 @@ OBJS-$(HAVE_XVMC) += xvmcvideo.o # processor-specific code -ifdef HAVE_MMX -OBJS += i386/cpuid.o \ +OBJS-$(HAVE_MMX) += i386/cpuid.o \ i386/dsputil_mmx.o \ i386/fdct_mmx.o \ i386/idct_mmx_xvid.o \ @@ -400,6 +399,7 @@ i386/mpegvideo_mmx.o \ i386/simple_idct_mmx.o \ +ifdef HAVE_MMX OBJS-$(CONFIG_CAVS_DECODER) += i386/cavsdsp_mmx.o OBJS-$(CONFIG_ENCODERS) += i386/dsputilenc_mmx.o OBJS-$(CONFIG_FFT_MMX) += i386/fft_3dn.o \