]> Cypherpunks repositories - gostls13.git/commit
cmd/go: -buildmode=pie forces external linking mode on all systems
authorIan Lance Taylor <iant@golang.org>
Sat, 19 Aug 2017 00:46:03 +0000 (17:46 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 21 Aug 2017 04:57:55 +0000 (04:57 +0000)
commiteccd3ef526956ab404b8b4a724a9a3862c77f457
tree7ba95a9b4fd5ea97c6a727fb9da36a24fa1da69d
parentb1dc2c28a59d7fd6c3cd6d8b1b2e5e562de5f414
cmd/go: -buildmode=pie forces external linking mode on all systems

The go tool assumed that -buildmode=pie implied internal linking on
linux-amd64. However, that was changed by CL 36417 for issue #18968.

Fixes #21452

Change-Id: I8ed13aea52959cc5c53223f4c41ba35329445545
Reviewed-on: https://go-review.googlesource.com/57231
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Avelino <t@avelino.xxx>
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/go/internal/load/pkg.go