diff --git a/Makefile b/Makefile index 8a02f1fc66ebf5..82281b581193bb 100644 --- a/Makefile +++ b/Makefile @@ -825,6 +825,9 @@ else ifeq ($(findstring s390,$(UNAME_M)),s390) DESTCPU ?= s390 else +ifeq ($(findstring arm64,$(UNAME_M)),arm64) +DESTCPU ?= arm64 +else ifeq ($(findstring arm,$(UNAME_M)),arm) DESTCPU ?= arm else @@ -844,6 +847,7 @@ endif endif endif endif +endif ifeq ($(DESTCPU),x64) ARCH=x64 else