1
0
mirror of https://github.com/rancher/os.git synced 2025-08-02 07:24:28 +00:00

fix a deprecation warning from go build

This commit is contained in:
Ivan Mikushin 2015-12-08 10:00:02 +05:00
parent 952ef13128
commit 0c0cb2aa5f

View File

@ -5,7 +5,7 @@ DEV_BUILD := 0
bin/rancheros:
mkdir -p $(dir $@)
go build -tags netgo -installsuffix netgo -ldflags "-X github.com/rancher/os/config.VERSION $(VERSION) -linkmode external -extldflags -static" -o $@
go build -tags netgo -installsuffix netgo -ldflags "-X github.com/rancher/os/config.VERSION=$(VERSION) -linkmode external -extldflags -static" -o $@
strip --strip-all $@