1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-16 15:21:33 +00:00

Switch to go 1.11

This commit is contained in:
Darren Shepherd
2018-09-25 11:43:11 -07:00
parent de109902bb
commit dc39352b4b
3 changed files with 7 additions and 30 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/norman ./example