From 76970c9c410dd7569597e0ae5fc2068dc3dc4464 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Fri, 8 Mar 2013 23:49:33 +0000 Subject: [PATCH] Reduce GnuTLS library size for Android build Signed-off-by: David Woodhouse --- android/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/android/Makefile b/android/Makefile index bbb89760..5f14cecc 100644 --- a/android/Makefile +++ b/android/Makefile @@ -188,13 +188,14 @@ $(GNUTLS_DIR)/configure.ac: git clone --reference /home/dwmw2/git/gnutls git://gitorious.org/gnutls/gnutls.git $(GNUTLS_DIR)/configure: $(GNUTLS_DIR)/configure.ac - rm tests/suite/mini-eagain2.c touch Changelog cd $(GNUTLS_DIR) && autoreconf -fvi $(GNUTLS_DIR)/Makefile: $(GNUTLS_DIR)/configure $(NETTLE_DEPS) cd $(GNUTLS_DIR) && ./configure $(CONFIGURE_ARGS) --disable-threads \ - --disable-doc --disable-openssl-compatibility --disable-cxx + --disable-doc --disable-openssl-compatibility --disable-cxx \ + --disable-tests --without-zlib --disable-nls \ + --disable-openssl-compatibility --disable-ocsp --disable-openpgp-authentication --disable-anon-authentication --disable-psk-authentication --disable-srp-authentication --disable-dtls-srtp-support $(GNUTLS_DIR)/lib/libgnutls.la: $(GNUTLS_DIR)/Makefile $(MAKE) -C $(GNUTLS_DIR)