[Android] [PATCH 2/7] contrib: Disable asm in Android

Rafaël Carré funman at videolan.org
Mon Jul 23 16:44:45 CEST 2012


Le 2012-07-23 05:54, Edward Wang a écrit :
> Fixes many errors like:
> 
> libgcrypt/mpi/mpih-mul.c:199: undefined reference to `_gcry_mpih_sub_n'
> libgcrypt/mpi/mpih-mul.c:201: undefined reference to `_gcry_mpih_add_n'
> ---
>  contrib/src/gcrypt/rules.mak |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/contrib/src/gcrypt/rules.mak b/contrib/src/gcrypt/rules.mak
> index 4f9d227..89decf4 100644
> --- a/contrib/src/gcrypt/rules.mak
> +++ b/contrib/src/gcrypt/rules.mak
> @@ -19,6 +19,10 @@ CONFIGURE_OPTS =
>  ifdef HAVE_WIN64
>  CONFIGURE_OPTS += --disable-asm
>  endif
> +ifdef HAVE_ANDROID
> +# http://lists.gnupg.org/pipermail/gnupg-devel/2009-April/024926.html
> +CONFIGURE_OPTS += --disable-asm
> +endif
>  ifdef HAVE_MACOSX
>  CONFIGURE_OPTS += --disable-aesni-support
>  else
> 

Not needed anymore, the problems were limited to tests so i disabled them


More information about the Android mailing list