From 3dedf801ddf6232211026ed20e3e4a9d448a5cf9 Mon Sep 17 00:00:00 2001 From: David Symonds Date: Wed, 11 Nov 2015 10:45:51 +1100 Subject: [PATCH] container/intsets: update build tags to exclude assembly from gccgo. Change-Id: I6f3b351d42f5534dd5a5ff161f1e5680b4dbfd58 Reviewed-on: https://go-review.googlesource.com/16793 Reviewed-by: Andrew Gerrand Reviewed-by: Ian Lance Taylor --- container/intsets/popcnt_amd64.go | 2 +- container/intsets/popcnt_amd64.s | 2 ++ container/intsets/popcnt_generic.go | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/container/intsets/popcnt_amd64.go b/container/intsets/popcnt_amd64.go index 7297f31011..99ea813d28 100644 --- a/container/intsets/popcnt_amd64.go +++ b/container/intsets/popcnt_amd64.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build amd64,!appengine +// +build amd64,!appengine,!gccgo package intsets diff --git a/container/intsets/popcnt_amd64.s b/container/intsets/popcnt_amd64.s index 6538b91d5e..05c3d6fb57 100644 --- a/container/intsets/popcnt_amd64.s +++ b/container/intsets/popcnt_amd64.s @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build amd64,!appengine,!gccgo + #include "textflag.h" // func havePOPCNT() bool diff --git a/container/intsets/popcnt_generic.go b/container/intsets/popcnt_generic.go index cf1305cfa1..682e2f53a4 100644 --- a/container/intsets/popcnt_generic.go +++ b/container/intsets/popcnt_generic.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !amd64 appengine +// +build !amd64 appengine gccgo package intsets