configure: Fix miscompilation for i586

If the CPU is 386, 486 or pentium, we must not use cmov in inline
assembler.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/88/head
Mikulas Patocka 10 years ago committed by Michael Niedermayer
parent b3fd2b175c
commit cdb3eee7c4
  1. 1
      configure

1
configure vendored

@ -3842,6 +3842,7 @@ elif enabled x86; then
case $cpu in case $cpu in
i[345]86|pentium) i[345]86|pentium)
cpuflags="-march=$cpu" cpuflags="-march=$cpu"
disable i686
disable mmx disable mmx
;; ;;
# targets that do NOT support nopl and conditional mov (cmov) # targets that do NOT support nopl and conditional mov (cmov)

Loading…
Cancel
Save