Disable cgo in install.sh

This commit is contained in:
Ken-Håvard Lieng 2020-05-25 01:25:05 +02:00
parent e76beca4a0
commit edd4d6eadb

View File

@ -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"