Skip to content

Fix make build rule #472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2025
Merged

Fix make build rule #472

merged 1 commit into from
Apr 1, 2025

Conversation

n3wscott
Copy link
Contributor

@n3wscott n3wscott commented Apr 1, 2025

I did not quote the ld flags in the #452 which resulted in:

go build -ldflags=-buildid= -X sigs.k8s.io/release-utils/version.gitVersion=v0.2.2-61-g35cb149-dirty -X sigs.k8s.io/release-utils/version.gitCommit=35cb149374379118d83c5ea619c6b93053577415 -X sigs.k8s.io/release-utils/version.gitTreeState="clean" -X sigs.k8s.io/release-utils/version.buildDate=none -o bin/controller ./cmd/controller/main.go
flag provided but not defined: -X

This quotes the LDFLAGS makefile var

Copy link
Member

@a-hilaly a-hilaly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you sir!

@a-hilaly a-hilaly changed the title fix make build Fix make build rule Apr 1, 2025
@a-hilaly a-hilaly merged commit 16ef150 into kro-run:main Apr 1, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants