Only set HAVE_MMX when a supported CPU is specified
authorMåns Rullgård <mans@mansr.com>
Mon, 18 Jan 2010 01:25:57 +0000 (01:25 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 18 Jan 2010 01:25:57 +0000 (01:25 +0000)
Originally committed as revision 21277 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 098041d..6c35fc3 100755 (executable)
--- a/configure
+++ b/configure
@@ -1789,8 +1789,12 @@ case $cpu in
         cpuflags="-mcpu=cell"
         enable ldbrx
     ;;
+    i[345]86|pentium)
+        cpuflags="-march=$cpu"
+        disable mmx
+    ;;
     # targets that do NOT support conditional mov (cmov)
-    i[345]86|pentium|pentium-mmx|k6|k6-[23]|winchip-c6|winchip2|c3)
+    pentium-mmx|k6|k6-[23]|winchip-c6|winchip2|c3)
         cpuflags="-march=$cpu"
         disable cmov
     ;;