Make tests compile on non-x86.
authorDiego Biurrun <diego@biurrun.de>
Wed, 1 Nov 2006 18:51:37 +0000 (18:51 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 1 Nov 2006 18:51:37 +0000 (18:51 +0000)
Originally committed as revision 6860 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile

index 9571c69..7939c42 100644 (file)
@@ -405,7 +405,11 @@ ifeq ($(BUILD_SHARED),yes)
 LIBVERSION=$(LAVCVERSION)
 LIBMAJOR=$(LAVCMAJOR)
 endif
-TESTS= cpuid_test imgresample-test dct-test motion-test fft-test
+
+TESTS= imgresample-test fft-test
+ifeq ($(TARGET_ARCH_X86),yes)
+TESTS+= cpuid_test dct-test motion-test
+endif
 
 include $(SRC_PATH)/common.mak