diff --git a/build_dist.sh b/build_dist.sh index 8a77bf8a7..b55b7f053 100755 --- a/build_dist.sh +++ b/build_dist.sh @@ -16,7 +16,7 @@ if [ -n "${TS_USE_TOOLCHAIN:-}" ]; then go="./tool/go" fi -eval `GOOS=$($go env GOHOSTOS) GOARCH=$($go env GOHOSTARCH) $go run ./cmd/mkversion` +eval `CGO_ENABLED=0 GOOS=$($go env GOHOSTOS) GOARCH=$($go env GOHOSTARCH) $go run ./cmd/mkversion` if [ "$1" = "shellvars" ]; then cat <