From a43afa7ea0e7cdfa5ebf7d52fde18b16182a6fa6 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Mon, 28 Sep 2020 15:46:32 +0300 Subject: [PATCH] make: fix storagenode-updater binary target Adds -tags=service when building storagenode-updater which adds interaction with Windows SVC and Linux systemd to the binary. Change-Id: I21b4b3e8718348a30ec0453b07135ff3de033a5a --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 71396fdf9..66d6ffd2e 100644 --- a/Makefile +++ b/Makefile @@ -262,7 +262,7 @@ storagenode_%: storagenode-console $(MAKE) binary-check COMPONENT=storagenode GOARCH=$(word 3, $(subst _, ,$@)) GOOS=$(word 2, $(subst _, ,$@)) .PHONY: storagenode-updater_% storagenode-updater_%: - $(MAKE) binary-check COMPONENT=storagenode-updater GOARCH=$(word 3, $(subst _, ,$@)) GOOS=$(word 2, $(subst _, ,$@)) + EXTRA_ARGS="-tags=service" $(MAKE) binary-check COMPONENT=storagenode-updater GOARCH=$(word 3, $(subst _, ,$@)) GOOS=$(word 2, $(subst _, ,$@)) .PHONY: uplink_% uplink_%: $(MAKE) binary-check COMPONENT=uplink GOARCH=$(word 3, $(subst _, ,$@)) GOOS=$(word 2, $(subst _, ,$@))