Skip to content
This repository was archived by the owner on Mar 6, 2020. It is now read-only.

Conversation

NegativeMjark
Copy link

This means that explicitly disabling cgo using CGO_ENABLED="0" in
order to get a static binary will work even when the libraries in
GOROOT have been compiled with cgo enabled.

This could be an easy work around for #328

This means that explicitly disabling cgo using CGO_ENABLED="0" in
order to get a static binary will work even when the libraries in
GOROOT have been compiled with cgo enabled.

Otherwise it looks like gb will use the packages built with cgo
in GOROOT even when cgo has been disabled.
@MrSaints
Copy link

Any updates on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants