]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: set the default external linker on platforms without gcc
authorElias Naur <mail@eliasnaur.com>
Tue, 30 Apr 2019 17:57:46 +0000 (19:57 +0200)
committerElias Naur <mail@eliasnaur.com>
Tue, 30 Apr 2019 18:28:47 +0000 (18:28 +0000)
commitd7edc91643dbc76542930ee95ff66beea6eefa02
tree4e4a8cd6df21eeaa6456ce14a5d36cfd95646c87
parent55d690d02c30a415319d592f932bf748054539f1
cmd/dist: set the default external linker on platforms without gcc

The go tool already sets -extld to the appropriate compiler. This
CL changes cmd/dist to do the same, to fix bootstrapping on platforms
that only have clang (Android and iOS).

Updates #31722

Change-Id: I8a4fd227f85a768053a8946198eab68bbbdf9ae5
Reviewed-on: https://go-review.googlesource.com/c/go/+/174305
Run-TryBot: Elias Naur <mail@eliasnaur.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/dist/build.go