Skip to content

Commit

Permalink
Explicitly enable cgo in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
agis committed Sep 27, 2018
1 parent 166b312 commit a568484
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 @@ -9,7 +9,7 @@ dep:
dep ensure -v

build: fmt
go build -v -ldflags '-X main.VersionSuffix=$(shell git rev-parse HEAD)'
CGO_ENABLED=1 go build -v -ldflags '-X main.VersionSuffix=$(shell git rev-parse HEAD)'

testunit-local:
go test -race
Expand Down

0 comments on commit a568484

Please sign in to comment.