diff options
| author | Ian Lance Taylor <iant@golang.org> | 2023-05-22 17:55:43 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-07-20 18:11:05 +0000 |
| commit | d3e3e11298eff0c113cec303054ec2f45075e95c (patch) | |
| tree | 58047eee728099681c9c743d148c598da16354fb /src/internal | |
| parent | 80a7315c3400b011a0f89e63aca73031a9073c9a (diff) | |
| download | go-d3e3e11298eff0c113cec303054ec2f45075e95c.tar.xz | |
cmd/go: don't collect package CGOLDFLAGS when using gccgo
They are already collected via cmd/cgo.
The gccgo_link_c test is tweaked to do real linking as with this
change the cgo ldflags are not fully reflected in go build -n output,
since they now only come from the built archive.
Fixes #60287
Change-Id: Id433435fe8aeb9571327bf936e52a37f400cef4c
Reviewed-on: https://go-review.googlesource.com/c/go/+/497117
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Andrey Bokhanko <andreybokhanko@gmail.com>
Diffstat (limited to 'src/internal')
0 files changed, 0 insertions, 0 deletions
