build error was caused by overwriting AM_CFLAGS
but AM_CFLAGS carries flags for hardware acceleration (-DASM_X86 etc.)
leading to not using a CPP Macro in x86-common.h

fixes https://dev.openwrt.org/ticket/15555
Error was:
sha-padlock.c:355:49: error: 'sha1' undeclared here (not in a function)
 const struct nettle_hash padlock_sha1 = NN_HASH(sha1, padlock_sha1_update, 
padlock_sha1_digest, SHA1);

Signed-off-by: Dirk Neukirchen <dirkneukirc...@web.de>
---
 libs/gnutls/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libs/gnutls/Makefile b/libs/gnutls/Makefile
index 9544ffb..3020e64 100644
--- a/libs/gnutls/Makefile
+++ b/libs/gnutls/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2005-2010 OpenWrt.org
+# Copyright (C) 2005-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -150,9 +150,6 @@ ifeq ($(CONFIG_GNUTLS_CRYPTODEV),y)
 CONFIGURE_ARGS += --enable-cryptodev
 endif
 
-# XXX: AM_CFLAGS duplicates with CFLAGS
-MAKE_FLAGS:= \
-       AM_CFLAGS="" \
 
 TARGET_CFLAGS += $(FPIC)
 TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
-- 
2.0.0.rc4


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to