Skip to content

Commit

Permalink
enable CGO_ENABLED for building FIPS compliant images
Browse files Browse the repository at this point in the history
Signed-off-by: Roke Jung <roke@redhat.com>
  • Loading branch information
rokej committed Sep 7, 2023
1 parent 0232892 commit 783083a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -20,8 +20,8 @@ PROMTOOL=GO111MODULE=on GOFLAGS=-mod=vendor go run github.com/prometheus/prometh

GO_GCFLAGS ?= -gcflags=all='-N -l'
GO=GO111MODULE=on GOFLAGS=-mod=vendor go
GO_BUILD_RECIPE=CGO_ENABLED=0 $(GO) build $(GO_GCFLAGS)
GO_E2E_RECIPE=CGO_ENABLED=0 $(GO) test $(GO_GCFLAGS) -tags e2e -c
GO_BUILD_RECIPE=CGO_ENABLED=1 $(GO) build $(GO_GCFLAGS)
GO_E2E_RECIPE=CGO_ENABLED=1 $(GO) test $(GO_GCFLAGS) -tags e2e -c

CI_TESTS_RUN ?= ""

Expand Down

0 comments on commit 783083a

Please sign in to comment.