disable cgo

This commit is contained in:
Hector 2023-06-22 16:19:01 +01:00
parent 5f879e1921
commit b81b801733

View File

@ -34,7 +34,7 @@ check/fmt: download
# Build project # Build project
.PHONY: build .PHONY: build
build: build:
go build \ CGO_ENABLED=0 go build \
-ldflags "\ -ldflags "\
-X main.version=${shell git describe --tags} \ -X main.version=${shell git describe --tags} \
-X main.commit=${shell git rev-parse HEAD} \ -X main.commit=${shell git rev-parse HEAD} \