From e5dfb4de46d2855c6c02bc55a670b783789db28f Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 23 Apr 2013 06:52:49 +0000 Subject: [PATCH] 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 Signed-off-by: Peter Korsgaard --- package/libgcrypt/libgcrypt.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk index b7c27424e4..6a3bc7c087 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 -- 2.30.2