[Android] [PATCH 7/8] contrib: Disable asm in Android
Edward Wang
edward.c.wang at compdigitec.com
Wed Jul 25 04:51:46 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'
---
The problem is not limited to tests, see my previous e-mail.
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 f785351..ea72e95 100644
--- a/contrib/src/gcrypt/rules.mak
+++ b/contrib/src/gcrypt/rules.mak
@@ -20,6 +20,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