|
|
@ -34,7 +34,7 @@ MAC_OS_X_VERSION ?= 10.8
|
|
|
|
|
|
|
|
|
|
|
|
BUILD_PATH = $(PWD)/.build
|
|
|
|
BUILD_PATH = $(PWD)/.build
|
|
|
|
|
|
|
|
|
|
|
|
GO_VERSION := 1.2.1
|
|
|
|
GO_VERSION := 1.3
|
|
|
|
GOOS = $(subst Darwin,darwin,$(subst Linux,linux,$(OS)))
|
|
|
|
GOOS = $(subst Darwin,darwin,$(subst Linux,linux,$(OS)))
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(GOOS),darwin)
|
|
|
|
ifeq ($(GOOS),darwin)
|
|
|
@ -45,7 +45,7 @@ endif
|
|
|
|
|
|
|
|
|
|
|
|
GOARCH = $(subst x86_64,amd64,$(ARCH))
|
|
|
|
GOARCH = $(subst x86_64,amd64,$(ARCH))
|
|
|
|
GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz
|
|
|
|
GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz
|
|
|
|
GOURL ?= http://go.googlecode.com/files
|
|
|
|
GOURL ?= http://golang.org/dl
|
|
|
|
GOROOT = $(BUILD_PATH)/root/go
|
|
|
|
GOROOT = $(BUILD_PATH)/root/go
|
|
|
|
GOPATH = $(BUILD_PATH)/root/gopath
|
|
|
|
GOPATH = $(BUILD_PATH)/root/gopath
|
|
|
|
GOCC = $(GOROOT)/bin/go
|
|
|
|
GOCC = $(GOROOT)/bin/go
|
|
|
|