diff --git a/Makefile b/Makefile index 8fe4ff5..96cf602 100644 --- a/Makefile +++ b/Makefile @@ -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 ./...