diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2019-02-25 11:32:00 +0100 |
|---|---|---|
| committer | Tobias Klauser <tobias.klauser@gmail.com> | 2019-03-01 06:06:13 +0000 |
| commit | e27402aee03b9232b7042ca6cba8b42b15727ef7 (patch) | |
| tree | 6cc0597d3ff8d52ee3735e8ea078e935578eeeaf /src/bytes/example_test.go | |
| parent | 60abc07113e66873d468f54bb5be09fbdd20ca07 (diff) | |
| download | go-e27402aee03b9232b7042ca6cba8b42b15727ef7.tar.xz | |
cmd/dist, cmd/link: allow passing default dynamic linker/loader
Add an environment variable to make.bash to allow setting the default
dynamic linker/loader. This fixes alpine builds to use
/lib/ld-musl-x86_64.so.1:
$ readelf -l ../bin/go | grep 'interpreter:' | sed -e 's/^.*interpreter: \(.*\)[]]/\1/'
/lib/ld-musl-x86_64.so.1
Also re-enable the internal linker tests that were previously disabled
for alpine (CL 41759, CL 41678).
Fixes #18243
Updates #19938
This resurrects CL 50070 authored by Jessie Frazelle.
Change-Id: I132b5282045a3d60c8568e3b002a7f075eac2d93
Reviewed-on: https://go-review.googlesource.com/c/163977
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/bytes/example_test.go')
0 files changed, 0 insertions, 0 deletions
