libgcrypt: bump to version 1.5.2
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 23 Apr 2013 06:52:49 +0000 (06:52 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 23 Apr 2013 18:52:14 +0000 (20:52 +0200)
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>
package/libgcrypt/libgcrypt.mk

index b7c27424e476f8831906faf0bfcbfac618c60115..6a3bc7c0872533a03cce88b20081c2f77a5f1f75 100644 (file)
@@ -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