diff options
| author | Joseph Richey <joerichey@google.com> | 2018-02-14 11:20:44 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-14 11:20:44 -0800 |
| commit | 7442ff1144c91ba9810b66fa843baf8c1953107f (patch) | |
| tree | dcd73364c8f6b62952428f8caf1b5bf8275dd255 /Makefile | |
| parent | bd2ca31a8d92581582e4150de53eccef99a36b3c (diff) | |
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.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)),) |