diff options
| author | Thorsten Glaser | 2018-10-22 19:00:57 +0000 |
|---|---|---|
| committer | Jo-Philipp Wich | 2018-12-18 16:22:03 +0000 |
| commit | 16f4057188b7fd4bc8126600d053a1822231cc36 (patch) | |
| tree | 938562a1121f7ef439c0ddc6e3c92ad3b971e53c | |
| parent | 8b07cd6000ddf7c8827114e44e574b094ef16ce4 (diff) | |
| download | openwrt-16f4057188b7fd4bc8126600d053a1822231cc36.tar.gz | |
build: fix libressl build on x32 (amd64ilp32) host
disable use of assembly code since x32 gets misdetected as amd64
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
(backported from a395563f68fde6f52dbf10913f59f13b8c804cd5)
| -rw-r--r-- | tools/libressl/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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)) |