From b2c15b07c96956aafdb052fe78eadf7d3af52c03 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 10 Sep 2022 20:04:44 +0200 Subject: [PATCH] switch to the output of 'uname -m' to detect ARM based systems --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 28879b4..136fd0c 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ INSTALL_DIR = $(INSTALL) -d INSTALL_PROGRAM = $(INSTALL) -m755 INSTALL_DATA = $(INSTALL) -m644 -IS_ARCH_ARM := $(shell grep -q ARM /proc/cpuinfo; echo $$?) +IS_ARCH_ARM := $(shell uname -m | grep -q -E "^(arm|aarch64)"; echo $$?) ifeq ($(IS_ARCH_ARM), 0) ARCH = arm else