Skip to content

Commit

Permalink
Explicitly enable CGO
Browse files Browse the repository at this point in the history
Addresses CVE-2023-3089

Signed-off-by: mprahl <mprahl@users.noreply.github.com>
(cherry picked from commit 2c6b99896a459aee1f7f0fc6c389b206ee3599d2)
  • Loading branch information
mprahl authored and magic-mirror-bot[bot] committed Jul 6, 2023
1 parent 6e6da2c commit c1a3ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ gosec-scan: gosec ## Run a gosec scan against the code.

.PHONY: build
build: ## Build manager binary.
@go build -o build/_output/bin/$(IMG) main.go
CGO_ENABLED=1 go build -o build/_output/bin/$(IMG) main.go

.PHONY: run
run: manifests generate fmt vet ## Run a controller from your host.
Expand Down

0 comments on commit c1a3ad7

Please sign in to comment.