This repository was archived by the owner on Jan 21, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2121
2222# build with go compiler
2323build : deps
24- GOPATH=$(GOPATH ) CGO_ENABLED=0 go build -a $(LDFLAGS ) -o $(CURDIR ) /bin/statsd-rest-server
24+ GOPATH=$(GOPATH ) CGO_ENABLED=0 go build -a $(LDFLAGS ) -o $(CURDIR ) /bin/statsd-rest-server
2525
2626
2727# build with go compiler and link optiomizations
@@ -31,12 +31,12 @@ build-shrink: deps
3131# build with gccgo compiler
3232# Require to install gccgo
3333build-gccgo : deps
34- GOPATH=$(GOPATH ) go build -a -compiler gccgo $(GCCGOFLAGS ) -o $(CURDIR ) /bin/statsd-rest-server-gccgo
34+ GOPATH=$(GOPATH ) CGO_ENABLED=0 go build -a -compiler gccgo $(GCCGOFLAGS ) -o $(CURDIR ) /bin/statsd-rest-server-gccgo
3535
3636# build with gccgo compiler and gold linker
3737# Require to install gccgo
3838build-gccgo-gold : deps
39- GOPATH=$(GOPATH ) go build -a -compiler gccgo $(GCCGOFLAGS_GOLD ) -o $(CURDIR ) /bin/statsd-rest-server-gccgo-gold
39+ GOPATH=$(GOPATH ) CGO_ENABLED=0 go build -a -compiler gccgo $(GCCGOFLAGS_GOLD ) -o $(CURDIR ) /bin/statsd-rest-server-gccgo-gold
4040
4141# build all
4242build-all : build build-shrink build-gccgo build-gccgo-gold
You can’t perform that action at this time.
0 commit comments