build: disable VCS metadata in Go builds

This commit is contained in:
ahp
2026-10-15 14:33:15 +03:30
parent 77ef81e688
commit 06a224f606
+2 -2
View File
@@ -12,8 +12,8 @@ MANDIR ?= $(PREFIX)/share/man
all: build all: build
build: build:
CGO_ENABLED=0 go build -trimpath -ldflags "$(LDFLAGS)" -o bin/prx ./cmd/prx CGO_ENABLED=0 go build -buildvcs=false -trimpath -ldflags "$(LDFLAGS)" -o bin/prx ./cmd/prx
CGO_ENABLED=0 go build -trimpath -ldflags "$(LDFLAGS)" -o bin/prx-helper ./cmd/prx-helper CGO_ENABLED=0 go build -buildvcs=false -trimpath -ldflags "$(LDFLAGS)" -o bin/prx-helper ./cmd/prx-helper
test: test:
go test ./... go test ./...