Skip to content

Commit

Permalink
Merge pull request #8 from Crazybus/go_see_the_c_go
Browse files Browse the repository at this point in the history
Build statically compiled release binaries
  • Loading branch information
Crazybus authored Sep 18, 2018
2 parents 7674d3c + add3085 commit e55d55f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func checksum(goos string, goarch string) error {
func build(goos string, goarch string) error {
os.Setenv("GOOS", goos)
os.Setenv("GOARCH", goarch)
os.Setenv("CGO_ENABLED", "0")

cmd := exec.Command(
"/usr/local/go/bin/go",
Expand Down

0 comments on commit e55d55f

Please sign in to comment.