Skip to content

Commit

Permalink
disable CGO builds
Browse files Browse the repository at this point in the history
  • Loading branch information
David Gidwani committed Jan 17, 2017
1 parent 648d37a commit 2644501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GOX_LDFLAGS="-X main.version=$(TAG_NAME) -X main.buildTime=$(shell date -u +%Y-%
default: build

build: test
gox -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}" -ldflags $(GOX_LDFLAGS)
CGO_ENABLED=0 gox -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}" -ldflags $(GOX_LDFLAGS)

install:
go install -ldflags $(GOX_LDFLAGS)
Expand Down

0 comments on commit 2644501

Please sign in to comment.