1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 21:00:16 +00:00

Switch to go1.11

This commit is contained in:
Darren Shepherd
2018-09-25 12:20:01 -07:00
parent 33c72d71f3
commit f110addb68
3 changed files with 12 additions and 33 deletions

View File

@@ -6,5 +6,5 @@ source $(dirname $0)/version
cd $(dirname $0)/..
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/types