Makefile: build with CGO_ENABLED=0

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-09-20 15:04:45 -07:00
co-authored by Claude Fable 5.1
parent 190368290b
commit 1c4b7009d5
+2 -1
View File
@@ -3,9 +3,10 @@
MCR := mcr.svc.mcp.metacircular.net:8443 MCR := mcr.svc.mcp.metacircular.net:8443
VERSION := $(shell git describe --tags --always --dirty) VERSION := $(shell git describe --tags --always --dirty)
LDFLAGS := -trimpath -ldflags="-s -w -X main.version=$(VERSION)" LDFLAGS := -trimpath -ldflags="-s -w -X main.version=$(VERSION)"
CGO := CGO_ENABLED=0
mcat: mcat:
go build $(LDFLAGS) -o mcat ./cmd/mcat $(CGO) go build $(LDFLAGS) -o mcat ./cmd/mcat
build: build:
go build ./... go build ./...