diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 2d42ce2d4a2b6260e42111ddb046711b5c979aa7..a2fc49fcadbe1e93b582f186aa4ab81e3064fd02 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -404,9 +404,9 @@ NAME=avcodec
 LIBVERSION=$(LAVCVERSION)
 LIBMAJOR=$(LAVCMAJOR)
 
-TESTS= imgresample-test fft-test
+TESTS= imgresample-test fft-test dct-test
 ifeq ($(TARGET_ARCH_X86),yes)
-TESTS+= cpuid_test dct-test motion-test
+TESTS+= cpuid_test motion-test
 endif
 
 include ../common.mak