build: non-x86: Only compile mpegvideo optimizations when necessary
[ffmpeg.git] / libavcodec / alpha / Makefile
index e55fe49..e28200d 100644 (file)
@@ -2,5 +2,6 @@ OBJS += alpha/dsputil_alpha.o                                           \
         alpha/dsputil_alpha_asm.o                                       \
         alpha/motion_est_alpha.o                                        \
         alpha/motion_est_mvi_asm.o                                      \
-        alpha/mpegvideo_alpha.o                                         \
         alpha/simple_idct_alpha.o                                       \
+
+OBJS-$(CONFIG_MPEGVIDEO)                += alpha/mpegvideo_alpha.o