From 7be8f44b3ab02055d8014f4b077bd51451bcfc6a Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Sun, 20 Sep 2026 15:04:45 -0700 Subject: [PATCH] Makefile: build with CGO_ENABLED=0 Co-Authored-By: Claude Fable 5.1 --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7eea36a..c2266e9 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ MCR := mcr.svc.mcp.metacircular.net:8443 VERSION := $(shell git describe --tags --always --dirty 2>/dev/null || echo dev) LDFLAGS := -trimpath -ldflags="-s -w -X main.version=$(VERSION)" +CGO := CGO_ENABLED=0 binaries: metacrypt metacrypt-web @@ -15,10 +16,10 @@ proto: proto/metacrypt/v2/*.proto metacrypt: - go build $(LDFLAGS) -o metacrypt ./cmd/metacrypt + $(CGO) go build $(LDFLAGS) -o metacrypt ./cmd/metacrypt metacrypt-web: - go build $(LDFLAGS) -o metacrypt-web ./cmd/metacrypt-web + $(CGO) go build $(LDFLAGS) -o metacrypt-web ./cmd/metacrypt-web build: go build ./...