From 7442ff1144c91ba9810b66fa843baf8c1953107f Mon Sep 17 00:00:00 2001 From: Joseph Richey Date: Wed, 14 Feb 2018 11:20:44 -0800 Subject: [PATCH] Makefile: arch command is not portable According to: https://www.gnu.org/software/coreutils/manual/html_node/arch-invocation.html the arch command isn't portable, so we switch to uname. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index aa82008e..ee571559 100644 --- a/Makefile +++ b/Makefile @@ -181,7 +181,7 @@ $(BIN)/gocovmerge: $(VENDOR) # Non-go tools downloaded from appropriate repository PROTOC_VERSION := 3.5.1 -ARCH := $(shell arch) +ARCH := $(shell uname -m) ifeq (x86_64,$(ARCH)) PROTOC_ARCH := x86_64 else ifneq ($(filter i386 i686,$(ARCH)),)