diff options
| author | Cherry Mui <cherryyz@google.com> | 2021-11-19 16:36:03 -0500 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2021-11-20 00:32:49 +0000 |
| commit | 57aba325c8c34f3354abc24fca7bc9627949a1c8 (patch) | |
| tree | df454d30406b794d7f52207cef0b412da5119ce6 /src/runtime | |
| parent | b31dda8a2ad833ea5ec3c807119372b27cc0e782 (diff) | |
| download | go-57aba325c8c34f3354abc24fca7bc9627949a1c8.tar.xz | |
cmd/link: exit early when -d is used on libc platforms
On platforms where we use libc for syscalls, we dynamically link
with libc and therefore dynamic linking cannot be disabled. Exit
early when -d is specified.
Update #42459.
Change-Id: I05abfe111df723b5ee512ceafef734e3804dd0a8
Reviewed-on: https://go-review.googlesource.com/c/go/+/365658
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 'src/runtime')
0 files changed, 0 insertions, 0 deletions
