From cefdaed87c817110a03ce024256d2084ddfc4104 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 16 Jul 2026 18:30:17 +0200 Subject: [PATCH] translate BSD's i386 hostarch name and automatically set BINARY=32 for it --- Makefile.system | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.system b/Makefile.system index 925e5bd42..7ce8a3e04 100644 --- a/Makefile.system +++ b/Makefile.system @@ -18,6 +18,10 @@ HOSTARCH := $(shell uname -m) ifeq ($(HOSTARCH), amd64) HOSTARCH=x86_64 endif +ifeq ($(HOSTARCH), i386) +HOSTARCH=x86 +override BINARY=32 +endif # Catch conflicting usage of ARCH in some BSD environments ifeq ($(ARCH), amd64)