Commit c2eebdff authored by mru's avatar mru

Only set HAVE_MMX when a supported CPU is specified

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21277 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b86337a6
...@@ -1789,8 +1789,12 @@ case $cpu in ...@@ -1789,8 +1789,12 @@ case $cpu in
cpuflags="-mcpu=cell" cpuflags="-mcpu=cell"
enable ldbrx enable ldbrx
;; ;;
i[345]86|pentium)
cpuflags="-march=$cpu"
disable mmx
;;
# targets that do NOT support conditional mov (cmov) # 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" cpuflags="-march=$cpu"
disable cmov 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