build: update LDFLAGS for windows

This commit is contained in:
Harshavardhana
2015-11-06 23:55:02 -08:00
parent fe1684d706
commit 2f98fa0a14
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
LDFLAGS = $(shell go run buildscripts/gen-ldflags.go)
LDFLAGS := $(shell go run buildscripts/gen-ldflags.go)
DOCKER_LDFLAGS = '-extldflags "-static"'
TAG = latest
TAG := latest
all: install
@@ -55,7 +55,7 @@ test: build
@GO15VENDOREXPERIMENT=1 go test $(GOFLAGS) github.com/minio/minio/pkg...
gomake-all: build
@GO15VENDOREXPERIMENT=1 go build --ldflags $(LDFLAGS) -o $(GOPATH)/bin/minio
GO15VENDOREXPERIMENT=1 go build --ldflags $(LDFLAGS) -o $(GOPATH)/bin/minio
pkg-add:
@GO15VENDOREXPERIMENT=1 govendor add $(PKG)