[x264-devel] commit: check for broken versions of yasm (Loren Merritt )

Måns Rullgård mans at mansr.com
Mon Mar 3 02:22:02 CET 2008


git at videolan.org (git version control) writes:

> x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Sun Mar  2 17:53:01 2008 -0700| [397d1bf764246716772004fe7ac8583a82c2a8a5]
>
> check for broken versions of yasm
>
>> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=397d1bf764246716772004fe7ac8583a82c2a8a5
> ---
>
>  configure |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/configure b/configure
> index 6f82da2..f54fdda 100755
> --- a/configure
> +++ b/configure
> @@ -316,6 +316,11 @@ then
>  fi
>
>  if [ $ARCH = X86 -o $ARCH = X86_64 ] ; then
> +    if [ $ARCH = X86 -a $pic = yes -a x$AS = xyasm -a\
> +         "`yasm --version | head -n 1`" "<" "yasm 0.6.2" ] ; then
> +         echo "yasm prior to 0.6.2 miscompiles PIC. trying nasm instead..."
> +         AS=nasm
> +    fi

This won't work too well if there's ever a 0.6.10 version or similar.

-- 
Måns Rullgård
mans at mansr.com


More information about the x264-devel mailing list