There is a new pull request by sug0 against master on the void-packages repository https://github.com/sug0/void-packages set-cgo-enabled https://github.com/void-linux/void-packages/pull/41167 common/environment/build-style/go.sh: allow setting CGO_ENABLED Change hard-coded value of `CGO_ENABLED` to allow reading a user configured value from a template file. This is required to fix a segmentation fault in #40919, derived some kind of linking error. The default behavior is kept, i.e. cgo is still enabled by default, which shouldn't break any packages. #### Testing the changes - I tested the changes in this PR: **briefly** A patch file from https://github.com/void-linux/void-packages/pull/41167.patch is attached