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

Edward Wang edward.c.wang at compdigitec.com
Mon Jul 23 05:54:28 CEST 2012


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
-- 
1.7.5.4



More information about the Android mailing list