]> Cypherpunks repositories - gostls13.git/commit
cmd/link/internal/ld/lib.go: use lld on Android
authorPaul D. Weber <x0bdev@gmail.com>
Tue, 26 May 2020 07:00:30 +0000 (07:00 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 26 May 2020 19:10:28 +0000 (19:10 +0000)
commite5a6a94aeb98fbfd2a046bd75042cbcbc2a529d4
treeeada4b4546e81f60b67f3141369da0e70a67ce2f
parent20160b37c6b7d12e25987baf2d95ba861b327a3b
cmd/link/internal/ld/lib.go: use lld on Android

Set linker explicitly to lld because the default does not work on NDK
versions r19c, r20, r20b and r21. NDK 18b (or earlier) based builds
will need to specify -fuse-ld=gold.

Fixes #38838

Change-Id: Ib75f71fb9896b843910f41bd12aa1e36868fa9b3
GitHub-Last-Rev: eeaa171604b59d8ad3d86944ebf21ee758e92f95
GitHub-Pull-Request: golang/go#39217
Reviewed-on: https://go-review.googlesource.com/c/go/+/235017
Reviewed-by: Elias Naur <mail@eliasnaur.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/link/internal/ld/lib.go