Skip to content

Comments

build: disable CGO for macOS builds#28

Merged
emirhandurmus merged 1 commit intomainfrom
release/1.4
Dec 1, 2025
Merged

build: disable CGO for macOS builds#28
emirhandurmus merged 1 commit intomainfrom
release/1.4

Conversation

@emirhandurmus
Copy link
Contributor

Disable CGO for macOS builds to fix cross-compilation errors. macOS cross-compilation with CGO from Linux CI requires macOS SDK which isn't available. With build tags, containers/image works without CGO.

Fixes: macOS clang cross-compilation error

Disable CGO for macOS builds to fix cross-compilation errors. macOS
cross-compilation with CGO from Linux CI requires macOS SDK which isn't
available. With build tags, containers/image works without CGO.

Fixes: macOS clang cross-compilation error
@emirhandurmus emirhandurmus merged commit c4f6889 into main Dec 1, 2025
1 check failed
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