]> Cypherpunks repositories - gostls13.git/commit
cmd/go: combine gccgo's ld and ldShared methods
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Tue, 31 May 2016 08:48:42 +0000 (20:48 +1200)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Tue, 31 May 2016 22:23:53 +0000 (22:23 +0000)
commit1846c632ee37681eb92fb27f7071a58bdf6d7a3c
tree56df320354923f0ae333f1fc242d027c3bfb0ba5
parent690de51ffac1473820212c88a11685b40f7bde3b
cmd/go: combine gccgo's ld and ldShared methods

This fixes handling of cgo flags and makes sure packages that are only
implicitly included in the shared library are passed to the link.

Fixes #15885

Change-Id: I1e8a72b5314261973ca903c78834700fb113dde9
Reviewed-on: https://go-review.googlesource.com/23537
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/build.go