build: fix libressl build on x32 (amd64ilp32) host

disable use of assembly code since x32 gets misdetected as amd64

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
(backported from a395563f68)
openwrt-18.06
Thorsten Glaser 2018-10-22 21:00:57 +02:00 committed by Jo-Philipp Wich
parent 8b07cd6000
commit 16f4057188
1 changed files with 4 additions and 0 deletions

View File

@ -24,4 +24,8 @@ include $(INCLUDE_DIR)/host-build.mk
HOST_CONFIGURE_ARGS += --disable-shared
HOST_CFLAGS += $(FPIC)
ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32)
HOST_CONFIGURE_ARGS += --disable-asm
endif
$(eval $(call HostBuild))