summaryrefslogtreecommitdiffstats
path: root/package/libgcrypt/libgcrypt.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libgcrypt/libgcrypt.mk')
-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 b7c27424e..6a3bc7c08 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