Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Building of Static Binaries With Go 1.20 #661

Merged
merged 1 commit into from
Apr 19, 2023

Commits on Apr 19, 2023

  1. Fix Building of Static Binaries With Go 1.20

    Explicitly disable CGO when building binaries.  As of Go 1.20, we get
    dynamic executables when using standard libary packages that have both
    cgo and pure Go implementations.
    
    Fixes errors in which release binaries may fail because the correct
    version of libc can't be linked at runtime.
    
    See golang/go#58550
    cwarden committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    81b325b View commit details
    Browse the repository at this point in the history