Skip to content

Fix package-cli: remove hardcoded gcc dependency for go generate#403

Merged
xiaods merged 1 commit intomainfrom
dev
Feb 16, 2026
Merged

Fix package-cli: remove hardcoded gcc dependency for go generate#403
xiaods merged 1 commit intomainfrom
dev

Conversation

@xiaods
Copy link
Owner

@xiaods xiaods commented Feb 16, 2026

Replace CC=gcc CXX=g++ with CGO_ENABLED=0 since codegen tools (go-bindata, controller-gen) are pure Go and don't need cgo. Fixes arm64 self-hosted runner build failure where gcc is not installed.

Replace `CC=gcc CXX=g++` with `CGO_ENABLED=0` since codegen tools
(go-bindata, controller-gen) are pure Go and don't need cgo. Fixes
arm64 self-hosted runner build failure where gcc is not installed.
@sonarqubecloud
Copy link

@xiaods xiaods merged commit 79f2128 into main Feb 16, 2026
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.

1 participant

Comments