Makefile: default GOARCH to the arch we are running on (#908)

This commit is contained in:
blotus 2021-08-25 15:06:27 +02:00 committed by GitHub
parent c188d401a3
commit 488f28e3a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)