From 0c0cb2aa5f7b7b11ccd3cbe765cb8a4ae80b1722 Mon Sep 17 00:00:00 2001 From: Ivan Mikushin Date: Tue, 8 Dec 2015 10:00:02 +0500 Subject: [PATCH] fix a deprecation warning from `go build` --- Makefile.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.docker b/Makefile.docker index 932e35cc..d9512e5a 100644 --- a/Makefile.docker +++ b/Makefile.docker @@ -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 $@