From 16f4057188b7fd4bc8126600d053a1822231cc36 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Mon, 22 Oct 2018 21:00:57 +0200 Subject: [PATCH] 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) --- tools/libressl/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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)) -- 2.25.1