]> Cypherpunks repositories - gostls13.git/commit
cmd/go,cmd/internal/sys,cmd/link: skip Go build ids for externally linked tools
authorElias Naur <mail@eliasnaur.com>
Tue, 30 Apr 2019 18:03:06 +0000 (20:03 +0200)
committerElias Naur <mail@eliasnaur.com>
Tue, 30 Apr 2019 19:38:46 +0000 (19:38 +0000)
commit8bde43e0694ed91565c95b286e3d31a2f43d8d80
treec9970af77fe19956e51a650943faca629a3c1a10
parent88548d0211ba64896fa76a5d1818e4422847a879
cmd/go,cmd/internal/sys,cmd/link: skip Go build ids for externally linked tools

cmd/go already skips build ids on Android where buildmode=pie is
forced. Expand the check to all externally linked tools.

Necessary for self-hosted iOS builds where PIE is not forced but
external linking is.

Updates #31722

Change-Id: Iad796a9411a37eb0c44d365b70a3c5907537e461
Reviewed-on: https://go-review.googlesource.com/c/go/+/174307
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/internal/work/gc.go
src/cmd/internal/sys/supported.go
src/cmd/link/internal/ld/config.go