diff --git a/Makefile b/Makefile index d97d2e3ad..3b0eb9548 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ build: build_tags := netgo osusergo build: OUTPUT_DIR ?= bin build: authors @echo "Building..." - $Q CGO_ENABLED=0 go build -a --tags '$(shell scripts/process_build_tags.sh $(build_tags) $(VK_BUILD_TAGS))' -ldflags '-extldflags "-static"' -o $(OUTPUT_DIR)/$(binary) $(if $V,-v) $(VERSION_FLAGS) ./cmd/$(binary) + $Q CGO_ENABLED=0 go build --tags '$(shell scripts/process_build_tags.sh $(build_tags) $(VK_BUILD_TAGS))' -ldflags '-extldflags "-static"' -o $(OUTPUT_DIR)/$(binary) $(if $V,-v) $(VERSION_FLAGS) ./cmd/$(binary) .PHONY: tags tags: