Skip to content

Commit

Permalink
build: disable CGO for CRT release
Browse files Browse the repository at this point in the history
  • Loading branch information
pkazmierczak committed Jul 15, 2024
1 parent d7d4fb3 commit 1290f76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ endif
dist/%/nomad-driver-podman: GO_OUT ?= $@
dist/%/nomad-driver-podman:
@echo "==> RELEASE BUILD of $@ ..."
CGO_ENABLED=0 \
GOOS=linux GOARCH=$(lastword $(subst _, ,$*)) \
go build -trimpath -o $(GO_OUT)

Expand Down

0 comments on commit 1290f76

Please sign in to comment.