diff options
| author | Peter Collingbourne <pcc@google.com> | 2018-08-20 18:42:02 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-08-21 03:53:55 +0000 |
| commit | 6417e91962f40ce929a279ac46d958d627c357da (patch) | |
| tree | 0cb63703241d9be6bc60bddde5731a09e39b186a /src/encoding/json/encode.go | |
| parent | 247b034ac04b753d5e3ca7d0d8a172f63db5dcb4 (diff) | |
| download | go-6417e91962f40ce929a279ac46d958d627c357da.tar.xz | |
cmd/link: pass provided ldflags when testing whether an ldflag is supported
It's possible for one of the ldflags to cause the compiler driver to
use a different linker than the default, so we need to make sure that
the flag is supported by whichever linker is specified.
Fixes #27110.
Change-Id: Ic0c51b886e34344d324e68cbf6673b168c14992f
Reviewed-on: https://go-review.googlesource.com/130316
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions
