浏览代码

build: fix libressl build on x32 (amd64ilp32) host

disable use of assembly code since x32 gets misdetected as amd64

Signed-off-by: Thorsten Glaser <[email protected]>
Thorsten Glaser 7 年之前
父节点
当前提交
a395563f68
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      tools/libressl/Makefile

+ 4 - 0
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))