1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

More build script changes

This commit is contained in:
Darren Shepherd
2016-05-31 21:11:03 -07:00
parent a14846152b
commit 5bf4d2c117
9 changed files with 43 additions and 16 deletions

View File

@@ -14,4 +14,5 @@ fi
OUTPUT=${OUTPUT:-bin/ros}
echo Building $OUTPUT
go build -tags netgo -installsuffix netgo -ldflags "-X github.com/rancher/os/config.VERSION=${VERSION} -linkmode external -extldflags -static" -o ${OUTPUT}
go build -tags "selinux cgo daemon netgo" -installsuffix netgo -ldflags "-X github.com/rancher/os/config.VERSION=${VERSION} -linkmode external -extldflags -static" -o ${OUTPUT}
strip --strip-all ${OUTPUT}