aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-12-27 22:51:42 -0800
committerHauke Mehrtens <hauke@hauke-m.de>2020-01-05 19:36:45 +0100
commitc2ef6c2148079eeed4076de9062e86c5e0ba9c3e (patch)
tree02e453c855a29742a22b5241eab1b3fd981013a9 /package/libs
parent0bd322861ca0e96a323e27f2b5d39022b65c0aa0 (diff)
downloadupstream-c2ef6c2148079eeed4076de9062e86c5e0ba9c3e.tar.gz
upstream-c2ef6c2148079eeed4076de9062e86c5e0ba9c3e.tar.bz2
upstream-c2ef6c2148079eeed4076de9062e86c5e0ba9c3e.zip
nettle: Disable ARMEB assembly
It's broken for ARMv5, which is the only armeb target in OpenWrt. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/libs')
-rw-r--r--package/libs/nettle/Makefile7
1 files changed, 6 insertions, 1 deletions
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)" \