From 26bec2585ecc2fde22405dd92ae70d8baffb9df8 Mon Sep 17 00:00:00 2001 From: zze <632404164@qq.com> Date: Tue, 12 Apr 2022 17:41:34 +0800 Subject: [PATCH] fix --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d54e3758d..b54db9efe 100644 --- a/Makefile +++ b/Makefile @@ -81,9 +81,9 @@ $(BINDIR)/$(BINNAME): $(SRC) .PHONY: build-linux-amd64 -build-linux-amd64: $(BINDIR)/$(BINNAME) +build-linux-amd64: $(BINDIR)/$(BINNAME)-linux-amd64 -$(BINDIR)/$(BINNAME): $(SRC) +$(BINDIR)/$(BINNAME)-linux-amd64: $(SRC) GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build $(GOFLAGS) -trimpath -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o '$(BINDIR)'/$(BINNAME) ./cmd/helm # ------------------------------------------------------------------------------