Sean McGovern <[email protected]> writes:

> Sun's compiler does not like much of the libav inline assembly, so disable it 
> by default.
> ---
>  configure |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/configure b/configure
> index a83d339..2b41a4c 100755
> --- a/configure
> +++ b/configure
> @@ -2016,6 +2016,7 @@ elif $cc -V 2>&1 | grep -q Sun; then
>      DEPEND_CMD='$(DEPCC) $(DEPFLAGS) $< | sed -e "1s,^.*: ,$@: ," -e 
> "\$$!s,\$$, \\\," -e "1!s,^.*: , ," > $(@:.o=.d)'
>      DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -xM1'
>      add_ldflags -xc99
> +    disable asm
>      speed_cflags='-O5'
>      size_cflags='-O5 -xspace'
>      filter_cflags=suncc_flags
> -- 

This disables *all* asm, even yasm, which is probably not what you want.
The proper solution is to put all inline asm under #if HAVE_INLINE_ASM
as is done for most other architectures.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to