Skip to content

Commit

Permalink
nettle: Disable ARMEB assembly
Browse files Browse the repository at this point in the history
It's broken for ARMv5, which is the only armeb target in OpenWrt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
  • Loading branch information
neheb authored and hauke committed Jan 5, 2020
1 parent 0bd3228 commit c2ef6c2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package/libs/nettle/Makefile
Expand Up @@ -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
Expand Down Expand Up @@ -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)" \
Expand Down

0 comments on commit c2ef6c2

Please sign in to comment.