Update build flags

This commit is contained in:
Dan Ramich 2019-10-24 16:14:14 -07:00
parent a8000549ed
commit ba6fa2238d
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ OS_ARCH_ARG[linux]="amd64 arm"
OS_ARCH_ARG[windows]="386 amd64"
OS_ARCH_ARG[darwin]="amd64"
CGO_ENABLED=0 go build -ldflags="-w -s -X main.VERSION=$VERSION -linkmode external -extldflags -static" -o bin/rancher
CGO_ENABLED=0 go build -ldflags="-w -s -X main.VERSION=$VERSION -extldflags -static" -o bin/rancher
if [ -n "$CROSS" ]; then
rm -rf build/bin