translate BSD's i386 hostarch name and automatically set BINARY=32 for it

This commit is contained in:
Martin Kroeker
2026-07-16 18:30:17 +02:00
committed by GitHub
parent 43f9441317
commit cefdaed87c
+4
View File
@@ -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)