From: Russ Cox Date: Wed, 21 Dec 2011 15:17:37 +0000 (-0500) Subject: os/user: fix for arm (non-cgo) X-Git-Tag: weekly.2011-12-22~51 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=721e19c24c84ef130528901ed8abedfcb49259b1;p=gostls13.git os/user: fix for arm (non-cgo) TBR=golang-dev CC=golang-dev https://golang.org/cl/5504056 --- diff --git a/src/pkg/os/user/lookup_stubs.go b/src/pkg/os/user/lookup_stubs.go index 7fc087c4dc..ea01f9683d 100644 --- a/src/pkg/os/user/lookup_stubs.go +++ b/src/pkg/os/user/lookup_stubs.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 netbsd openbsd plan9 windows +// +build nocgo package user diff --git a/src/pkg/os/user/lookup_unix.go b/src/pkg/os/user/lookup_unix.go index a77aeb73bb..21c8346b2f 100644 --- a/src/pkg/os/user/lookup_unix.go +++ b/src/pkg/os/user/lookup_unix.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build darwin freebsd linux +// +build cgo package user