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