aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-18 01:25:57 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-18 01:25:57 +0000
commit8d072dd2a96dc1ed7c1a65d49361311db71f5bfb (patch)
treedeb57bdc13c94d85e21d1c8c11b426a706ac1cb3
parent7da0d82104866b6c10104ce5735d3beaf77d2889 (diff)
downloadffmpeg-8d072dd2a96dc1ed7c1a65d49361311db71f5bfb.tar.gz
Only set HAVE_MMX when a supported CPU is specified
Originally committed as revision 21277 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 098041d057..6c35fc3d60 100755
--- 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
;;