Skip to content
This repository was archived by the owner on Jan 21, 2019. It is now read-only.

Commit 5062dfd

Browse files
committed
disable gccgo
1 parent d98d751 commit 5062dfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ deps:
2121

2222
# build with go compiler
2323
build: 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
3333
build-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
3838
build-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
4242
build-all: build build-shrink build-gccgo build-gccgo-gold

0 commit comments

Comments
 (0)