From: Dave Cheney Date: Fri, 7 Mar 2014 20:54:41 +0000 (+1100) Subject: crypto/md5, crypto/sha1: exclude amd64p32 from generic implementations. X-Git-Tag: go1.3beta1~419 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3d869c6e0c26503f835b4c2694af45e64991c4cd;p=gostls13.git crypto/md5, crypto/sha1: exclude amd64p32 from generic implementations. We provide amd64p32 implementations for md5 and sha1 so we need to exclude amd64p32 from the generic implementations in those packages. Fixes build once CL 72360044 lands. LGTM=agl, remyoudompheng R=rsc, bradfitz, agl, remyoudompheng CC=golang-codereviews https://golang.org/cl/72460043 --- diff --git a/src/pkg/crypto/md5/md5block_generic.go b/src/pkg/crypto/md5/md5block_generic.go index 239bf4d215..263463e51c 100644 --- a/src/pkg/crypto/md5/md5block_generic.go +++ b/src/pkg/crypto/md5/md5block_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,!386,!arm +// +build !amd64,!amd64p32,!386,!arm package md5 diff --git a/src/pkg/crypto/sha1/sha1block_generic.go b/src/pkg/crypto/sha1/sha1block_generic.go index 2c78683aa4..696e26b625 100644 --- a/src/pkg/crypto/sha1/sha1block_generic.go +++ b/src/pkg/crypto/sha1/sha1block_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,!386,!arm +// +build !amd64,!amd64p32,!386,!arm package sha1