nettle: Disable ARMEB assembly
authorRosen Penev <rosenp@gmail.com>
Sat, 28 Dec 2019 06:51:42 +0000 (22:51 -0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 5 Jan 2020 18:36:45 +0000 (19:36 +0100)
It's broken for ARMv5, which is the only armeb target in OpenWrt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
package/libs/nettle/Makefile

index 62c39702ed1170fd243c5b7449e7047bf26ee680..b9324e4793b63d5ca52d47d6f798131939b12d2b 100644 (file)
@@ -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)" \