diff --git a/Makefile b/Makefile index 6539b48a..4102c9ce 100644 --- a/Makefile +++ b/Makefile @@ -66,10 +66,10 @@ else ifeq ($(shell uname -s),Linux) HOST_PLATFORM = linux - ifeq ($(shell uname -p),x86_64) + ifeq ($(shell uname -m),x86_64) HOST_ARCH = x64 endif - ifneq ($(filter %86,$(shell uname -p)),) + ifneq ($(filter %86,$(shell uname -m)),) HOST_ARCH = x86 endif ifeq ($(shell uname -m),armv7l)