Closed ReillyBrogan closed 1 year ago
Ref: https://groups.google.com/g/golang-codereviews/c/ZnfJ5olFsnk
This issue was also surfaced by https://github.com/serpent-os/boulder/pull/56.
I recommend adding -Wl,--no-gc-sections to the default CGO_LDFLAGS
-Wl,--no-gc-sections
Ref: https://groups.google.com/g/golang-codereviews/c/ZnfJ5olFsnk
This issue was also surfaced by https://github.com/serpent-os/boulder/pull/56.
I recommend adding
-Wl,--no-gc-sections
to the default CGO_LDFLAGS