Commit 48545a8f authored by Anssi Hannula's avatar Anssi Hannula Committed by Ronald S. Bultje

configure: check yasm/nasm for working pextrd opcode

NASM versions older than 2.08 fail to build ffmpeg with several
"error: operation size not specified" errors but this is not caught in
configure.

Fix that by checking if "pextrd [eax], xmm0, 1" works in configure.
Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent 84ae8936
......@@ -2671,7 +2671,7 @@ EOF
elf*) enabled debug && append YASMFLAGS $yasm_debug ;;
esac
check_yasm "pabsw xmm0, xmm0" && enable yasm ||
check_yasm "pextrd [eax], xmm0, 1" && enable yasm ||
die "yasm not found, use --disable-yasm for a crippled build"
fi
......
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