This repository was archived by the owner on Oct 6, 2025. It is now read-only.
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 @@ -33,7 +33,7 @@ release:
3333 exit 1; \
3434 fi
3535 @echo " Building release version '$( VERSION) '..."
36- GOOS=darwin GOARCH=arm64 go build -trimpath -ldflags=" -s -w -X github.com/docker/model-cli/desktop.Version=$( VERSION) " -o dist/darwin-arm64/$(PLUGIN_NAME ) .
36+ GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 CGO_CFLAGS= " -mmacosx-version-min=14.0 " CGO_LDFLAGS= " -mmacosx-version-min=14.0 " go build -trimpath -ldflags=" -s -w -X github.com/docker/model-cli/desktop.Version=$( VERSION) " -o dist/darwin-arm64/$(PLUGIN_NAME ) .
3737 GOOS=windows GOARCH=amd64 go build -trimpath -ldflags=" -s -w -X github.com/docker/model-cli/desktop.Version=$( VERSION) " -o dist/windows-amd64/$(PLUGIN_NAME ) .exe .
3838 GOOS=windows GOARCH=arm64 go build -trimpath -ldflags=" -s -w -X github.com/docker/model-cli/desktop.Version=$( VERSION) " -o dist/windows-arm64/$(PLUGIN_NAME ) .exe .
3939 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags=" -s -w -X github.com/docker/model-cli/desktop.Version=$( VERSION) " -o dist/linux-amd64/$(PLUGIN_NAME ) .
You can’t perform that action at this time.
0 commit comments