From 20a94860eb75dde1729f9ee9b7cf6541ea7a2c9d Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 28 Nov 2022 03:14:39 -0500 Subject: [PATCH] Parse "aarch64" in machine triplet as ARM64, to allow compiling on Linux ARM64. --- arch.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch.mk b/arch.mk index 88b50819..70fdefd0 100644 --- a/arch.mk +++ b/arch.mk @@ -3,7 +3,7 @@ MACHINE := $(shell $(CC) -dumpmachine) ifneq (,$(findstring x86_64-,$(MACHINE))) ARCH_X64 := 1 ARCH_CPU := x64 -else ifneq (,$(findstring arm64-,$(MACHINE))) +else ifneq (,$(findstring arm64-,$(MACHINE))$(findstring aarch64-,$(MACHINE))) ARCH_ARM64 := 1 ARCH_CPU := arm64 else