Makefile: build with CGO_ENABLED=0
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -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 ./...
|
||||||
|
|||||||
Reference in New Issue
Block a user