libgcrypt: disable assembly for coldfire

Fixes:
http://autobuild.buildroot.org/results/374/374158bb0a0e6a16af5d0b909cd05ec52812aaa3/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Waldemar Brodkorb 2016-07-31 10:28:03 +02:00 committed by Peter Korsgaard
parent e0b507d31a
commit e60f2d7735

View File

@ -18,6 +18,11 @@ LIBGCRYPT_CONF_ENV = \
LIBGCRYPT_CONF_OPTS = \ LIBGCRYPT_CONF_OPTS = \
--with-gpg-error-prefix=$(STAGING_DIR)/usr --with-gpg-error-prefix=$(STAGING_DIR)/usr
# Libgcrypt doesn't support assembly for coldfire
ifeq ($(BR2_m68k_cf),y)
LIBGCRYPT_CONF_OPTS += --disable-asm
endif
# Code doesn't build in thumb mode # Code doesn't build in thumb mode
ifeq ($(BR2_arm),y) ifeq ($(BR2_arm),y)
LIBGCRYPT_CONF_ENV += CFLAGS="$(patsubst -mthumb,,$(TARGET_CFLAGS))" LIBGCRYPT_CONF_ENV += CFLAGS="$(patsubst -mthumb,,$(TARGET_CFLAGS))"