Skip to content

Commit ece923b

Browse files
committed
Explicit CGO_ENABLED=1 on make build
1 parent bdc6b0a commit ece923b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ LD_FLAGS=-ldflags " \
4141
"
4242
.PHONY: build
4343
build: ## Build the project locally
44-
go build $(GO_GCFLAGS) $(GO_ASMFLAGS) $(LD_FLAGS) -o bin/audit-tool ./cmd
44+
CGO_ENABLED=1 go build $(GO_GCFLAGS) $(GO_ASMFLAGS) $(LD_FLAGS) -o bin/audit-tool ./cmd
4545
cp ./bin/audit-tool $(GOBIN)/audit-tool
4646

4747
.PHONY: install

0 commit comments

Comments
 (0)