aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
35 lines
962 B
Makefile
35 lines
962 B
Makefile
################################################################################
|
|
#
|
|
# libgcrypt
|
|
#
|
|
################################################################################
|
|
|
|
LIBGCRYPT_VERSION = 1.6.2
|
|
LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2
|
|
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_CONFIG_SCRIPTS = libgcrypt-config
|
|
|
|
LIBGCRYPT_CONF_ENV = \
|
|
ac_cv_sys_symbol_underscore=no
|
|
LIBGCRYPT_CONF_OPTS = \
|
|
--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
|
|
endef
|
|
|
|
LIBGCRYPT_POST_PATCH_HOOKS += LIBGCRYPT_DISABLE_TESTS
|
|
|
|
$(eval $(autotools-package))
|