]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: do not use gcc -xc - to compile standard input
authorRuss Cox <rsc@golang.org>
Mon, 1 Feb 2016 17:22:39 +0000 (12:22 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 19 Feb 2016 01:37:41 +0000 (01:37 +0000)
commit53ebde225e0ecaff8c3b71356a4726fad753d47c
treeac1ee27105dc8afb4c30a28313d97652f63b3d53
parent3e23442518d9c66def2ae48f83026e29c5f26609
cmd/cgo: do not use gcc -xc - to compile standard input

We have private reports of compilers that mishandle that.
Write to a temporary file instead.

Change-Id: I92e3cf4274b1a8048741e07fb52b8900c93b915e
Reviewed-on: https://go-review.googlesource.com/19616
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/cgo/util.go