Skip to content

Commit

Permalink
test: disable CGO for e2e tests' flex builds
Browse files Browse the repository at this point in the history
  • Loading branch information
DavSanchez committed Jul 27, 2023
1 parent 5c2c1ef commit 6480cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/compile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fmt:
@($(GO_CMD) fmt ./...)

bin/nri-flex:
@($(GO_CMD) build -ldflags="$(LDFLAGS)" -trimpath -o ./bin/nri-flex ./cmd/nri-flex/)
@(CGO_ENABLED=0 $(GO_CMD) build -ldflags="$(LDFLAGS)" -trimpath -o ./bin/nri-flex ./cmd/nri-flex/)

.PHONY: build-linux
build-linux: compile-linux
Expand Down

0 comments on commit 6480cd9

Please sign in to comment.