File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ help: ## Display this help
4242$(ALL_SUPPORTED_OS_ARCH ) : # # Build binaries for specific platform/architecture, e.g. make dist/ec_linux_amd64
4343 @GOOS=$(word 2,$(subst _, ,$(notdir $@ ) ) ) ; \
4444 GOARCH=$(word 3,$(subst _, ,$(notdir $@ ) ) ) ; \
45- GOOS=$$ {GOOS} GOARCH=$$ {GOARCH} go build -trimpath -ldflags=" -s -w -X github.com/enterprise-contract/ec-cli/internal/version.Version=$( VERSION) " -o dist/ec_$$ {GOOS}_$$ {GOARCH}; \
45+ GOOS=$$ {GOOS} GOARCH=$$ {GOARCH} CGO_ENABLED=0 go build -trimpath -ldflags=" -s -w -X github.com/enterprise-contract/ec-cli/internal/version.Version=$( VERSION) " -o dist/ec_$$ {GOOS}_$$ {GOARCH}; \
4646 sha256sum -b dist/ec_$$ {GOOS}_$$ {GOARCH} > dist/ec_$$ {GOOS}_$$ {GOARCH}.sha256
4747
4848.PHONY : dist
You can’t perform that action at this time.
0 commit comments