Skip to content

Commit

Permalink
Merge pull request #457 from rhmdnd/implement-go-build-flags
Browse files Browse the repository at this point in the history
Implement build flags
  • Loading branch information
openshift-ci[bot] authored Nov 1, 2023
2 parents b04a32e + 54ae71c commit 645f3f2
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 @@ -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.
Expand Down

0 comments on commit 645f3f2

Please sign in to comment.