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:
parent
952ef13128
commit
0c0cb2aa5f
@ -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 $@
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user