diff --git a/Makefile b/Makefile index 81b5cc41b..d41200c51 100644 --- a/Makefile +++ b/Makefile @@ -422,7 +422,7 @@ build: generate fmt vet test-unit ## Build the operator binary. $(GO) build \ -trimpath \ -ldflags=-buildid= \ - -o $(TARGET_OPERATOR) $(MAIN_PKG) + -o $(TARGET_OPERATOR) $(BUILD_FLAGS) $(MAIN_PKG) .PHONY: manager manager: build ## Alias for make build.