From: Thorsten Glaser Date: Mon, 22 Oct 2018 19:00:57 +0000 (+0200) Subject: build: fix libressl build on x32 (amd64ilp32) host X-Git-Tag: v18.06.2~121 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=16f4057188b7fd4bc8126600d053a1822231cc36;p=openwrt%2Fstaging%2Fpepe2k.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 (backported from a395563f68fde6f52dbf10913f59f13b8c804cd5) --- diff --git a/tools/libressl/Makefile b/tools/libressl/Makefile index 4c7e8a7b6e..bb8113a4ad 100644 --- a/tools/libressl/Makefile +++ b/tools/libressl/Makefile @@ -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))