packages/lang/golang
Jeffery To a95afd67df
golang: Use external linking for target Go
In Go 1.15, the linker now defaults to internal linking mode for
-buildmode=pie on amd64 and arm64[1], however this results in go tool
binaries with the wrong dynamic linker/interpreter.

External linking is still used when PIE is enabled for other platforms,
whereas internal linking is used when PIE is not enabled.

This changes target Go to always use external linking, to fix PIE
binaries for amd64/arm64 and for consistency.

[1]: https://golang.org/doc/go1.15#linker

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-06 16:28:08 +08:00
..
golang golang: Use external linking for target Go 2020-10-06 16:28:08 +08:00
golang-build.sh golang: Move module cache into DL_DIR 2020-10-06 16:27:52 +08:00
golang-compiler.mk golang: Update files installed 2020-02-05 14:19:34 +08:00
golang-package.mk golang: Share build cache across package builds 2020-10-06 16:28:06 +08:00
golang-values.mk golang: Share build cache across package builds 2020-10-06 16:28:06 +08:00