From 3d869c6e0c26503f835b4c2694af45e64991c4cd Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Sat, 8 Mar 2014 07:54:41 +1100 Subject: [PATCH] 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 --- src/pkg/crypto/md5/md5block_generic.go | 2 +- src/pkg/crypto/sha1/sha1block_generic.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.48.1