Commit 8d072dd2 authored by Måns Rullgård's avatar Måns Rullgård

Only set HAVE_MMX when a supported CPU is specified

Originally committed as revision 21277 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7da0d821
......@@ -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
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment