diff options
| author | Ian Lance Taylor <iant@golang.org> | 2024-05-09 15:19:38 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-05-13 17:12:16 +0000 |
| commit | a32e94d43ee34cc6de23ff674c4f5e5b49528e86 (patch) | |
| tree | dbd66ee86aaf9ae6931c5421b056db2312816f94 /src/encoding/binary/binary.go | |
| parent | f4494522dc067bc930dc73b91e3ef931ce4583da (diff) | |
| download | go-a32e94d43ee34cc6de23ff674c4f5e5b49528e86.tar.xz | |
cmd/cgo, cmd/go: add cgo -ldflags option, use it in cmd/go
This will automatically use a response file if ldflags is long,
avoiding "argument list too long" errors with a very large CGO_LDFLAGS.
Fixes #66456
Change-Id: I5f9ee86e03b4e6d6430f7f9d8357ef37a9c22465
Reviewed-on: https://go-review.googlesource.com/c/go/+/584655
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/encoding/binary/binary.go')
0 files changed, 0 insertions, 0 deletions
