Makefile: build with CGO_ENABLED=0; drop committed mcproxyctl binary
The binary was a build output checked in by mistake; ignore it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -10,3 +10,4 @@ srv/
|
|||||||
|
|
||||||
# OS
|
# OS
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
/mcproxyctl
|
||||||
|
|||||||
@@ -3,12 +3,13 @@
|
|||||||
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
|
||||||
|
|
||||||
mc-proxy:
|
mc-proxy:
|
||||||
go build $(LDFLAGS) -o mc-proxy ./cmd/mc-proxy
|
$(CGO) go build $(LDFLAGS) -o mc-proxy ./cmd/mc-proxy
|
||||||
|
|
||||||
mcproxyctl:
|
mcproxyctl:
|
||||||
go build -trimpath -ldflags="-s -w" -o mcproxyctl ./cmd/mcproxyctl
|
$(CGO) go build -trimpath -ldflags="-s -w" -o mcproxyctl ./cmd/mcproxyctl
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build ./...
|
go build ./...
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user