build: non-x86: Only compile mpegvideo optimizations when necessary
[ffmpeg.git] / libavcodec / mips / Makefile
index 37899b1..5f00d70 100644 (file)
@@ -1,3 +1,4 @@
 MMI-OBJS += mips/dsputil_mmi.o                                          \
             mips/idct_mmi.o                                             \
-            mips/mpegvideo_mmi.o                                        \
+
+MMI-OBJS-$(CONFIG_MPEGVIDEO)            += mips/mpegvideo_mmi.o