Build MMX/SSE FFT only if CONFIG_FFT is set
[libav.git] / libavcodec / Makefile
index 2a099a0..5b176ec 100644 (file)
@@ -395,11 +395,12 @@ OBJS += i386/fdct_mmx.o \
         i386/idct_mmx_xvid.o \
         i386/idct_sse2_xvid.o \
 
-OBJS-$(HAVE_YASM)                      += i386/fft_mmx.o \
+OBJS-$(CONFIG_FFT_MMX)                 += i386/fft_mmx.o \
                                           i386/fft_sse.o \
                                           i386/fft_3dn.o \
                                           i386/fft_3dn2.o \
-                                          i386/dsputil_yasm.o \
+
+OBJS-$(HAVE_YASM)                      += i386/dsputil_yasm.o
 
 OBJS-$(CONFIG_GPL)                     += i386/idct_mmx.o