From 616cb3c0eadada458358d69b1098a5aea9165099 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Mon, 13 Jul 2015 15:20:12 +1200 Subject: [PATCH] cmd/dist: actually disable testso and testsovar on ppc64 This is clearly what was intended all along. ./all.bash passes with this change. Change-Id: I16996da11cf1e4d2dc2a4434b7611a724691e8dc Reviewed-on: https://go-review.googlesource.com/12068 Reviewed-by: Brad Fitzpatrick --- src/cmd/dist/test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index 8d7b6f88077..0f2c9a6f6a7 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -734,7 +734,7 @@ func (t *tester) cgoTestSOSupported() bool { // No exec facility on Android or iOS. return false } - if t.goos == "ppc64le" || t.goos == "ppc64" { + if t.goarch == "ppc64le" || t.goarch == "ppc64" { // External linking not implemented on ppc64 (issue #8912). return false }