]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: only write _cgo_flags for gccgo
authorIan Lance Taylor <iant@golang.org>
Wed, 30 Aug 2023 21:06:45 +0000 (14:06 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 30 Aug 2023 22:53:52 +0000 (22:53 +0000)
commitbdccd923e914ab61d77a8f23a3329cf1d5aaa7c1
tree4ea9bea9bf8c8d9a7bf78488744d84a77d4d5ec8
parent51ed3cb702baedf400957fc2126e141fad46d4a5
cmd/cgo: only write _cgo_flags for gccgo

We only use it for gccgo. Also only write out LDFLAGS,
as that is all that cmd/go uses.

Fixes #60642

Change-Id: I6ccc419a17a433583d9868dd63aa7ec41c2b22c4
Reviewed-on: https://go-review.googlesource.com/c/go/+/524556
Auto-Submit: 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>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/cmd/cgo/doc.go
src/cmd/cgo/gcc.go
src/cmd/cgo/main.go
src/cmd/cgo/out.go