Disable cgo in install.sh
This commit is contained in:
parent
e76beca4a0
commit
edd4d6eadb
|
@ -6,4 +6,4 @@ Tag=$(git describe --tags)
|
|||
Commit=$(git rev-parse --short HEAD)
|
||||
Date=$(date +'%Y-%m-%dT%TZ')
|
||||
|
||||
go install -ldflags "-s -w -X $Import.Tag=$Tag -X $Import.Commit=$Commit -X $Import.Date=$Date"
|
||||
CGO_ENABLED=0 go install -ldflags "-s -w -X $Import.Tag=$Tag -X $Import.Commit=$Commit -X $Import.Date=$Date"
|
||||
|
|
Loading…
Reference in New Issue