]> Cypherpunks repositories - gostls13.git/commit
cmd/link/internal/ld: consider alternative linkers in linkerFlagSupported
authorElias Naur <mail@eliasnaur.com>
Mon, 25 May 2020 13:27:05 +0000 (15:27 +0200)
committerElias Naur <mail@eliasnaur.com>
Mon, 25 May 2020 21:01:14 +0000 (21:01 +0000)
commitbcda68447b31b86bc3829fca80454ca1a2a572e0
treec319ec36b8fb73e3bcf11c6c4494807488998a9f
parentf65ad0dda7ffef9397d1aaa47259ad4d4f12474f
cmd/link/internal/ld: consider alternative linkers in linkerFlagSupported

CL 235017 is about to change the default Android linker to lld. lld doesn't
support the --compress-debug-sections=zlib-gnu flag, but linkerFlagSupported
doesn't take any alternative linkers specified with -fuse-ld into account.

Updates #38838

Change-Id: I5f7422c06d40dedde2e4b070fc48398e8f822190
Reviewed-on: https://go-review.googlesource.com/c/go/+/235157
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/lib.go