Skip to content
This repository was archived by the owner on Feb 29, 2020. It is now read-only.

Commit 02fd74c

Browse files
committed
Update Makefile.COMMON
1 parent a4a6638 commit 02fd74c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.COMMON

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ VERSION ?= $(error VERSION not set in including Makefile)
4141
TARGET ?= $(error TARGET not set in including Makefile)
4242

4343
SRC ?= $(shell find . -type f -name "*.go" ! -path "./.build/*")
44-
GOOS := $(shell uname | tr A-Z a-z)
45-
GOARCH := $(subst x86_64,amd64,$(patsubst i%86,386,$(shell uname -m)))
44+
GOOS ?= $(shell uname | tr A-Z a-z)
45+
GOARCH ?= $(subst x86_64,amd64,$(patsubst i%86,386,$(shell uname -m)))
4646

4747
ifeq ($(GOOS),darwin)
4848
RELEASE_SUFFIX ?= -osx$(shell sw_vers -productVersion)

0 commit comments

Comments
 (0)