From 452bd4ef2df3937dd8d1735525b451efc9ebd07f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BE=84=E6=BD=AD?= Date: Fri, 13 Sep 2024 11:08:47 +0800 Subject: [PATCH] Fix hgctl release (#1308) --- Makefile.core.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.core.mk b/Makefile.core.mk index 9829fadec1..1f99882b5c 100644 --- a/Makefile.core.mk +++ b/Makefile.core.mk @@ -101,11 +101,11 @@ build-hgctl-multiarch: prebuild $(OUT) .PHONY: build-hgctl-macos-arm64 build-hgctl-macos-arm64: prebuild $(OUT) - CGO_ENABLED=1 GOPROXY=$(GOPROXY) GOOS=darwin GOARCH=arm64 PROJECT_DIR="$(HGCTL_PROJECT_DIR)" tools/hack/gobuild.sh ../out/darwin_arm64/ $(HGCTL_BINARIES) + CGO_ENABLED=1 STATIC=0 GOPROXY=$(GOPROXY) GOOS=darwin GOARCH=arm64 PROJECT_DIR="$(HGCTL_PROJECT_DIR)" tools/hack/gobuild.sh ../out/darwin_arm64/ $(HGCTL_BINARIES) .PHONY: build-hgctl-macos-amd64 build-hgctl-macos-amd64: prebuild $(OUT) - CGO_ENABLED=1 GOPROXY=$(GOPROXY) GOOS=darwin GOARCH=amd64 PROJECT_DIR="$(HGCTL_PROJECT_DIR)" tools/hack/gobuild.sh ../out/darwin_amd64/ $(HGCTL_BINARIES) + CGO_ENABLED=1 STATIC=0 GOPROXY=$(GOPROXY) GOOS=darwin GOARCH=amd64 PROJECT_DIR="$(HGCTL_PROJECT_DIR)" tools/hack/gobuild.sh ../out/darwin_amd64/ $(HGCTL_BINARIES) # Create targets for OUT_LINUX/binary # There are two use cases here: