]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: use explicit flag to emit dynamic linker path
authorRuss Cox <rsc@golang.org>
Mon, 4 Mar 2013 16:23:17 +0000 (11:23 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 4 Mar 2013 16:23:17 +0000 (11:23 -0500)
commit6dc3c9cfddc48a0668e99a641d877488b32aa1ce
treea6147e6ed2a4a968e8002092d944079752b1ebb0
parent7903e3600c988f9d5950355a7f611dcdba004f5e
cmd/cgo: use explicit flag to emit dynamic linker path

Using -import_runtime_cgo would have worked great except
that it doesn't get passed to the second invocation of cgo,
and that's the one that writes the relevant file.

Fixes ARM build on systems with a different dynamic linker
than the one 5l assumes (like Gentoo).

R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/7432048
src/cmd/cgo/main.go
src/cmd/cgo/out.go
src/cmd/go/build.go