Skip to content

Commit 5e91d75

Browse files
dhaiducekopenshift-merge-bot[bot]
authored andcommitted
chore: ensure CGO_ENABLED
Signed-off-by: Dale Haiducek <[email protected]>
1 parent f87a7b9 commit 5e91d75

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
@@ -62,7 +62,7 @@ build: layout
6262

6363
.PHONY: build-binary
6464
build-binary:
65-
go build -ldflags="$(GO_LDFLAGS)" ./cmd/PolicyGenerator
65+
CGO_ENABLED=1 go build -mod=readonly -ldflags="$(GO_LDFLAGS)" ./cmd/PolicyGenerator
6666

6767
.PHONY: build-release
6868
build-release:

0 commit comments

Comments
 (0)