mirror of
https://github.com/rancher/rke.git
synced 2025-09-17 15:40:07 +00:00
Update to Golang 1.11
This commit is contained in:
committed by
Alena Prokharchyk
parent
1639bcdbd6
commit
22a339ea33
@@ -11,7 +11,7 @@ OS_ARCH_ARG[windows]="386 amd64"
|
||||
OS_ARCH_ARG[darwin]="amd64"
|
||||
|
||||
mkdir -p bin
|
||||
[ "$(uname)" != "Darwin" ] && LINKFLAGS="-linkmode external -extldflags -static -s"
|
||||
[ "$(uname)" != "Darwin" ] && LINKFLAGS="-extldflags -static -s"
|
||||
CGO_ENABLED=0 go build -ldflags "-X main.VERSION=$VERSION $LINKFLAGS" -o bin/rke
|
||||
|
||||
if [ -n "$CROSS" ]; then
|
||||
|
Reference in New Issue
Block a user