Commit 60a06400 authored by James Almer's avatar James Almer Committed by Michael Niedermayer

configure: fix NASM output format on Win64

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 454c019c
......@@ -4467,7 +4467,12 @@ EOF
elif check_cmd nasm -v; then
yasmexe=nasm
yasm_debug="-g -F dwarf"
enabled x86_64 && test "$objformat" = elf && objformat=elf64
if enabled x86_64; then
case "$objformat" in
elf) objformat=elf64 ;;
win32) objformat=win64 ;;
esac
fi
fi
YASMFLAGS="-f $objformat $yasm_extra"
......
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