]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: add support for GOARCH=sparc64
authorTobias Klauser <tklauser@distanz.ch>
Mon, 26 Mar 2018 14:58:51 +0000 (16:58 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Mon, 26 Mar 2018 18:58:51 +0000 (18:58 +0000)
commita29e25b82c9d39c448df6dfcea01bfeb111da1bc
tree309511e1ea9fb4a2828bdad9d4db22978d9a47ff
parenta934e34e875d6402da79d52a859434b60b6f6131
cmd/cgo: add support for GOARCH=sparc64

Even though GOARCH=sparc64 is not supported by gc (yet), it is easy to
make cgo already support it.

This e.g. allows to generate Go type definitions for linux/sparc64 in
the golang.org/x/sys/unix package without using gccgo.

Change-Id: I8886c81e7c895a0d93e350d81ed653fb59d95dd8
Reviewed-on: https://go-review.googlesource.com/102555
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/cgo/main.go