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>
openwrt-19.07
Thorsten Glaser 2018-10-22 21:00:57 +02:00 committed by Hauke Mehrtens
parent 79b766d07d
commit a395563f68
1 changed files with 4 additions and 0 deletions

View File

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