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

Commit

Permalink
Update Makefile.COMMON
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusv committed Mar 28, 2015
1 parent a4a6638 commit 02fd74c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.COMMON
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ VERSION ?= $(error VERSION not set in including Makefile)
TARGET ?= $(error TARGET not set in including Makefile)

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

ifeq ($(GOOS),darwin)
RELEASE_SUFFIX ?= -osx$(shell sw_vers -productVersion)
Expand Down

0 comments on commit 02fd74c

Please sign in to comment.