]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] cmd/ld: finalize linkmode before determining whether to import runtime/cgo
authorShenghou Ma <minux@golang.org>
Fri, 5 Dec 2014 07:22:20 +0000 (02:22 -0500)
committerShenghou Ma <minux@golang.org>
Fri, 5 Dec 2014 07:22:20 +0000 (02:22 -0500)
commit274976f45c9b2c3f9140768b457e9140ea65bfb4
tree496ea2a6ddc21090f4dca382021a39eb43b4ac9f
parent6f755f2f8f4665d44745b4065cd54a90eba0bde9
[dev.cc] cmd/ld: finalize linkmode before determining whether to import runtime/cgo

Frankly, I don't understand how the current code could possibly work except
when every android program is using cgo. Discovered this while working on
the iOS port.

LGTM=crawshaw, rsc
R=rsc, crawshaw
CC=golang-codereviews
https://golang.org/cl/177470043
src/cmd/ld/lib.c