From c2ef6c2148079eeed4076de9062e86c5e0ba9c3e Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 27 Dec 2019 22:51:42 -0800 Subject: [PATCH] nettle: Disable ARMEB assembly It's broken for ARMv5, which is the only armeb target in OpenWrt. Signed-off-by: Rosen Penev --- package/libs/nettle/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/libs/nettle/Makefile b/package/libs/nettle/Makefile index 62c39702ed..b9324e4793 100644 --- a/package/libs/nettle/Makefile +++ b/package/libs/nettle/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nettle PKG_VERSION:=3.5.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_USE_MIPS16:=0 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -55,6 +55,11 @@ CONFIGURE_ARGS += \ --enable-arm-neon endif +ifeq ($(ARCH),armeb) +CONFIGURE_ARGS += \ + --disable-assembler +endif + define Build/Compile $(call Build/Compile/Default, \ DESTDIR="$(PKG_INSTALL_DIR)" \