diff options
author | Elias Naur <mail@eliasnaur.com> | 2019-11-13 11:57:17 +0100 |
---|---|---|
committer | Elias Naur <mail@eliasnaur.com> | 2019-11-14 17:43:48 +0000 |
commit | d3c2b1f17600fadeebf62d65c85baf3bef879e2b (patch) | |
tree | 68c3a791e9bb20d19a1b156edeb7aad549c15952 /misc | |
parent | 71c59ee6fce79dddd7a39167e8658e3cfbba3c0f (diff) | |
download | go-d3c2b1f17600fadeebf62d65c85baf3bef879e2b.tar.gz go-d3c2b1f17600fadeebf62d65c85baf3bef879e2b.zip |
cmd/link/internal/ld,misc/cgo/testcshared: don't -fuse-ld=gold on Android
The NDK is switching to ldd, and will stop including the gold linker.
Change-Id: If74168017c9874134b34010906ab1d94001528b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/206840
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/cgo/testcshared/cshared_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cgo/testcshared/cshared_test.go b/misc/cgo/testcshared/cshared_test.go index daef3a9e54..194dec96ad 100644 --- a/misc/cgo/testcshared/cshared_test.go +++ b/misc/cgo/testcshared/cshared_test.go @@ -103,7 +103,7 @@ func testMain(m *testing.M) int { // TODO(crawshaw): can we do better? cc = append(cc, []string{"-framework", "CoreFoundation", "-framework", "Foundation"}...) case "android": - cc = append(cc, "-pie", "-fuse-ld=gold") + cc = append(cc, "-pie") } libgodir := GOOS + "_" + GOARCH switch GOOS { |