mirror of https://github.com/rancher/cli.git
Update build flags
This commit is contained in:
parent
a8000549ed
commit
ba6fa2238d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue