[Android] [PATCH 4/6] contrib: Don't enable assembler under Android-x86

Rafaël Carré funman at videolan.org
Tue Jul 17 18:54:08 CEST 2012


Le 2012-07-15 22:28, Edward Wang a écrit :
> Headers normally present under normal Linux are missing in bionic.

Did you try to play with:

#  undef USE_OBSOLETE_SIGCONTEXT_FLAVOR /* #define this to use the older
signal handler method */

? (in cpu.c)

> ---
>  contrib/src/flac/rules.mak |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/contrib/src/flac/rules.mak b/contrib/src/flac/rules.mak
> index 287f805..5ffba4e 100644
> --- a/contrib/src/flac/rules.mak
> +++ b/contrib/src/flac/rules.mak
> @@ -35,6 +35,12 @@ ifneq ($(findstring $(ARCH),i386 x86_64),)
>  FLACCONF += --disable-asm-optimizations
>  endif
>  endif
> +ifdef HAVE_ANDROID
> +ifeq ($(ANDROID_ABI), x86)
> +# cpu.c:130:29: error: sys/ucontext.h: No such file or directory
> +FLACCONF += --disable-asm-optimizations
> +endif
> +endif
>  
>  DEPS_flac = ogg $(DEPS_ogg)
>  
> 



More information about the Android mailing list