Fix static builds in go1.4

https://github.com/golang/go/issues/9344
This commit is contained in:
Tim Hockin
2015-01-20 21:03:23 -08:00
parent f90ad573cf
commit 0a538132cf
7 changed files with 7 additions and 7 deletions

View File

@@ -17,4 +17,4 @@
set -e
set -x
CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static" -s' hello.go
CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags '-extldflags "-static" -s' hello.go