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
|
||||
VERSION := $(shell git describe --tags --always --dirty)
|
||||
LDFLAGS := -trimpath -ldflags="-s -w -X main.version=$(VERSION)"
|
||||
CGO := CGO_ENABLED=0
|
||||
|
||||
mcat:
|
||||
go build $(LDFLAGS) -o mcat ./cmd/mcat
|
||||
$(CGO) go build $(LDFLAGS) -o mcat ./cmd/mcat
|
||||
|
||||
build:
|
||||
go build ./...
|
||||
|
||||
Reference in New Issue
Block a user