build: non-x86: Only compile mpegvideo optimizations when necessary
[ffmpeg.git] / libavcodec / bfin / Makefile
index 6b3e7cf..be81e6c 100644 (file)
@@ -1,7 +1,8 @@
 OBJS += bfin/dsputil_bfin.o                                             \
         bfin/fdct_bfin.o                                                \
         bfin/idct_bfin.o                                                \
-        bfin/mpegvideo_bfin.o                                           \
         bfin/pixels_bfin.o                                              \
         bfin/vp3_bfin.o                                                 \
         bfin/vp3_idct_bfin.o                                            \
+
+OBJS-$(CONFIG_MPEGVIDEOENC)             += bfin/mpegvideo_bfin.o