From: Thorsten Glaser Date: Mon, 22 Oct 2018 19:00:57 +0000 (+0200) Subject: build: fix libressl build on x32 (amd64ilp32) host X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a395563f68fde6f52dbf10913f59f13b8c804cd5;p=openwrt%2Fstaging%2Fmkresin.git build: fix libressl build on x32 (amd64ilp32) host disable use of assembly code since x32 gets misdetected as amd64 Signed-off-by: Thorsten Glaser --- diff --git a/tools/libressl/Makefile b/tools/libressl/Makefile index 57cdacd961..8894a058e4 100644 --- a/tools/libressl/Makefile +++ b/tools/libressl/Makefile @@ -26,4 +26,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))