1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

Only set HAVE_MMX when a supported CPU is specified

Originally committed as revision 21277 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-01-18 01:25:57 +00:00
parent 7da0d82104
commit 8d072dd2a9

6
configure vendored
View File

@ -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
;;