Makefile: default GOARCH to the arch we are running on (#908)
This commit is contained in:
parent
c188d401a3
commit
488f28e3a3
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -29,7 +29,7 @@ CSCLI_BIN = "cscli"
|
|||
BUILD_CMD = "build"
|
||||
|
||||
GOOS ?= linux
|
||||
GOARCH ?= amd64
|
||||
GOARCH ?= $(shell go env GOARCH)
|
||||
|
||||
#Golang version info
|
||||
GO_MAJOR_VERSION = $(shell go version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f1)
|
||||
|
|
Loading…
Reference in a new issue