Skip to content

Set CGO build flags and rust flags in builder environment#707

Open
bbhtt wants to merge 2 commits intomainfrom
bbhtt/cgo-flags
Open

Set CGO build flags and rust flags in builder environment#707
bbhtt wants to merge 2 commits intomainfrom
bbhtt/cgo-flags

Conversation

@bbhtt
Copy link
Contributor

@bbhtt bbhtt commented Mar 7, 2026

Fixes: #694
Fixes: #693

@bbhtt bbhtt force-pushed the bbhtt/cgo-flags branch from 82b7700 to 0ee4b78 Compare March 8, 2026 02:23
@bbhtt bbhtt changed the title Set CGO build flags in builder environment Set CGO build flags and rust flags in builder environment Mar 8, 2026
Set CGO_CFLAGS, CGO_CXXFLAGS and CGO_LDFLAGS in the build environment.
By default these inherit the values of cflags, cxxflags and ldflags
respectively, unless overridden in the manifest.

Fixes: #694
@bbhtt bbhtt force-pushed the bbhtt/cgo-flags branch from 0ee4b78 to 04bd4f2 Compare March 8, 2026 02:32
@bbhtt bbhtt force-pushed the bbhtt/cgo-flags branch from 04bd4f2 to 0753033 Compare March 8, 2026 05:47
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.

Set CGO_CFLAGS, CGO_CXXFLAGS and CGO_LDFLAGS Allow setting RUSTFLAGS from SDK

1 participant