mirror of
https://github.com/rancher/os.git
synced 2025-09-17 07:30:42 +00:00
fix a deprecation warning from go build
This commit is contained in:
@@ -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 $@
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user