summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-04-23 06:52:49 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-04-23 18:52:14 (GMT)
commite5dfb4de46d2855c6c02bc55a670b783789db28f (patch)
tree772d08e137ca2795cc4d6658d24b1598c1e046a9
parent1cb4f40a097211687dd7ec0c48508c91b6d819c9 (diff)
downloadbuildroot-e5dfb4de46d2855c6c02bc55a670b783789db28f.tar.gz
buildroot-e5dfb4de46d2855c6c02bc55a670b783789db28f.tar.bz2
libgcrypt: bump to version 1.5.2
Also work around a build failure for ARM thumb mode which was also present in the previous versions. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/libgcrypt/libgcrypt.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk
index b7c2742..6a3bc7c 100644
--- a/package/libgcrypt/libgcrypt.mk
+++ b/package/libgcrypt/libgcrypt.mk
@@ -4,7 +4,7 @@
#
#############################################################
-LIBGCRYPT_VERSION = 1.5.0
+LIBGCRYPT_VERSION = 1.5.2
LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2
LIBGCRYPT_LICENSE = LGPLv2.1+
LIBGCRYPT_LICENSE_FILES = COPYING.LIB
@@ -19,6 +19,11 @@ LIBGCRYPT_CONF_OPT = \
--disable-optimization \
--with-gpg-error-prefix=$(STAGING_DIR)/usr
+# Code doesn't build in thumb mode
+ifeq ($(BR2_arm),y)
+ LIBGCRYPT_CONF_ENV += CFLAGS="$(patsubst -mthumb,,$(TARGET_CFLAGS))"
+endif
+
# Tests use fork()
define LIBGCRYPT_DISABLE_TESTS
$(SED) 's/ tests//' $(@D)/Makefile.in