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>
This commit is contained in:
Mikulas Patocka 2014-09-12 22:29:29 +02:00 committed by Michael Niedermayer
parent b3fd2b175c
commit cdb3eee7c4
1 changed files with 1 additions and 0 deletions

1
configure vendored
View File

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