summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-12-26 03:55:47 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-26 23:39:50 +0100
commita12f6402e89d04798cadad8586bd347f62574b7f (patch)
tree6d38bf067747db933a466a03935eaa206afdedf1
parent6a219e26b6a15b5a073660c96778024915877663 (diff)
downloadbuildroot-novena-a12f6402e89d04798cadad8586bd347f62574b7f.tar.gz
buildroot-novena-a12f6402e89d04798cadad8586bd347f62574b7f.zip
libgcrypt: disable tests
The testsuite uses fork() hence fails on !MMU targets. We don't use/install these so just get rid of them. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/libgcrypt/libgcrypt.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk
index a320e4848..3aa60c697 100644
--- a/package/libgcrypt/libgcrypt.mk
+++ b/package/libgcrypt/libgcrypt.mk
@@ -10,6 +10,7 @@ LIBGCRYPT_LICENSE = LGPLv2.1+
LIBGCRYPT_LICENSE_FILES = COPYING.LIB
LIBGCRYPT_SITE = ftp://ftp.gnupg.org/gcrypt/libgcrypt
LIBGCRYPT_INSTALL_STAGING = YES
+LIBGCRYPT_DEPENDENCIES = libgpg-error
LIBGCRYPT_CONF_ENV = \
ac_cv_sys_symbol_underscore=no
@@ -17,6 +18,12 @@ LIBGCRYPT_CONF_OPT = \
--disable-optimization \
--with-gpg-error-prefix=$(STAGING_DIR)/usr
-LIBGCRYPT_DEPENDENCIES = libgpg-error
+# Tests use fork()
+define LIBGCRYPT_DISABLE_TESTS
+ $(SED) 's/ tests//' $(@D)/Makefile.in
+endef
+
+LIBGCRYPT_POST_PATCH_HOOKS += LIBGCRYPT_DISABLE_TESTS
+
$(eval $(autotools-package))