flatpak-builder icon indicating copy to clipboard operation
flatpak-builder copied to clipboard

Set CGO_CFLAGS, CGO_CXXFLAGS and CGO_LDFLAGS

Open bbhtt opened this issue 2 months ago • 0 comments

Checklist

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Suggestion

These environment variables should be set to:

CGO_CFLAGS -> CFLAGS CGO_CXXFLAGS -> CXXFLAGS CGO_LDFLAGS -> LDFLAGS

https://pkg.go.dev/cmd/cgo

I don't think we need to create separate manifests properties for these as they just inherit the cflag, cxxflag and ldflag values.

bbhtt avatar Oct 22 '25 12:10 bbhtt