diff --git a/arch.mk b/arch.mk index 70fdefd0..a93cb92e 100644 --- a/arch.mk +++ b/arch.mk @@ -3,7 +3,10 @@ MACHINE := $(shell $(CC) -dumpmachine) ifneq (,$(findstring x86_64-,$(MACHINE))) ARCH_X64 := 1 ARCH_CPU := x64 -else ifneq (,$(findstring arm64-,$(MACHINE))$(findstring aarch64-,$(MACHINE))) +else ifneq (,$(findstring arm64-,$(MACHINE))) + ARCH_ARM64 := 1 + ARCH_CPU := arm64 +else ifneq (,$(findstring aarch64-,$(MACHINE))) ARCH_ARM64 := 1 ARCH_CPU := arm64 else