--- trunk/mage/Makefile 2023/07/31 09:05:47 3178 +++ trunk/mage/Makefile 2023/07/31 10:53:22 3192 @@ -3,6 +3,10 @@ VERSION = $(shell cat VERSION) ARCH = $(shell arch) +ifeq ($(ARCH), ) + ARCH := $(shell uname -m) +endif + ABI_X86_64_CHOST = x86_64-pc-linux-gnu ABI_X86_CHOST = i686-pc-linux-gnu