diff options
| author | Cherry Mui <cherryyz@google.com> | 2021-08-17 17:21:03 -0400 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2021-08-17 23:59:53 +0000 |
| commit | ddfcc02352feb9e15ff9aa423bb49bfb37d689a3 (patch) | |
| tree | 8a8485992c8d39f35a46d27d711b982c1957f8c9 /src/cmd/asm | |
| parent | a2a9a7b5132c7a0b1d4c297018d6072101456709 (diff) | |
| download | go-ddfcc02352feb9e15ff9aa423bb49bfb37d689a3.tar.xz | |
cmd/link: do not use GO_LDSO when cross compile
GO_LDSO is a setting that is set when the toolchain is build. It
only makes sense to use it on the host platform. Do not use it
when targetting a different platform.
In the past it was not a problem as GO_LDSO was almost always
unset. Now, with CL 301989 it is almost always set (maybe we want
to revisit it).
Fixes #47760.
Change-Id: I2704b9968781f46e2d2f8624090db19689b1a32f
Reviewed-on: https://go-review.googlesource.com/c/go/+/343010
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/cmd/asm')
0 files changed, 0 insertions, 0 deletions
