diff options
author | Cherry Mui <cherryyz@google.com> | 2021-07-22 18:57:52 -0400 |
---|---|---|
committer | Cherry Mui <cherryyz@google.com> | 2021-09-30 19:56:06 +0000 |
commit | eb9f090d1b543f54b319cab78027cdf2ce1a08b8 (patch) | |
tree | 5f779c0c06cbb4902c06c43eb249072b99bec6c3 /.github | |
parent | 205640ed7b6b93d88351c85f0ecfb37d075f8dcf (diff) | |
download | go-eb9f090d1b543f54b319cab78027cdf2ce1a08b8.tar.gz go-eb9f090d1b543f54b319cab78027cdf2ce1a08b8.zip |
cmd/link: use "CC --print-prog-name" to locate tools
When building for macOS with external linking, we currently use
"xcrun" to invoke "dsymutil" and "strip" tools. That doesn't work
well for cross compilation. Use "CC --print-prog-name" to find the
tool path instead.
Fixes #47316.
Change-Id: Ib30c6494c48bfb6a505dc26fe644ef543d777076
Reviewed-on: https://go-review.googlesource.com/c/go/+/336769
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions