comparison configure @ 28034:9519c786aafa

Pass "-f macho" to yasm when enabling YASM support on a 32-bits machine as libavcodec/i386/x86inc.asm checks that __OUTPUT_FORMAT__ is 'macho' in 32-bits mode, not 'macho32'. This is a workaround until FFmpeg code is fixed.
author gpoirier
date Wed, 03 Dec 2008 09:06:23 +0000
parents 5c6b67d9d4a0
children 211c23dac000
comparison
equal deleted inserted replaced
28033:5c6b67d9d4a0 28034:9519c786aafa
2423 echores $_asmalign_pot 2423 echores $_asmalign_pot
2424 2424
2425 echocheck "yasm" 2425 echocheck "yasm"
2426 if test -z "$YASMFLAGS" ; then 2426 if test -z "$YASMFLAGS" ; then
2427 if darwin ; then 2427 if darwin ; then
2428 x86_64 && objformat="macho64" || objformat="macho32" 2428 x86_64 && objformat="macho64" || objformat="macho"
2429 elif win32 ; then 2429 elif win32 ; then
2430 objformat="win32" 2430 objformat="win32"
2431 else 2431 else
2432 objformat="elf" 2432 objformat="elf"
2433 fi 2433 fi