Explorar el Código

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

blotus hace 3 años
padre
commit
488f28e3a3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
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)