diff --git a/Makefile b/Makefile index 630e4851b..3d82c5f34 100644 --- a/Makefile +++ b/Makefile @@ -70,10 +70,11 @@ boiler: cri-containerd: check-gopath $(GO) build -o $(BUILD_DIR)/$@ \ $(BUILD_TAGS) \ + $(GO_LDFLAGS) $(GO_GCFLAGS) \ $(PROJECT)/cmd/cri-containerd test: - go test -timeout=10m -race ./pkg/... $(BUILD_TAGS) + go test -timeout=10m -race ./pkg/... $(BUILD_TAGS) $(GO_LDFLAGS) $(GO_GCFLAGS) test-cri: @./hack/test-cri.sh