From 488f28e3a352c8750deda22e6cae495b310e0b68 Mon Sep 17 00:00:00 2001 From: blotus Date: Wed, 25 Aug 2021 15:06:27 +0200 Subject: [PATCH] Makefile: default GOARCH to the arch we are running on (#908) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cedc02be0..d8d05a9a3 100644 --- a/Makefile +++ b/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)