From 003d937a6e749658b8e54140bbdedf59eff5c6aa Mon Sep 17 00:00:00 2001 From: Pierre-Yves Date: Thu, 23 Mar 2017 18:33:27 +0100 Subject: [PATCH] chore: make use of 'uname -m' to detect host on GNU/Linux replace uname -p with uname -m to detect HOST_ARCH on HOST_PLATFORM = linux --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)