From a395563f68fde6f52dbf10913f59f13b8c804cd5 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 --- tools/libressl/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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)) -- 2.30.2