From: Russ Cox Date: Wed, 21 Dec 2011 13:05:04 +0000 (-0500) Subject: cmd/go: fix build (piece of 5489100 leaked in to last checkin) X-Git-Tag: weekly.2011-12-22~56 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0fcb24b91c6e4b3786da6e6b4592a252e54f561b;p=gostls13.git cmd/go: fix build (piece of 5489100 leaked in to last checkin) TBR=golang-dev CC=golang-dev https://golang.org/cl/5489102 --- diff --git a/src/cmd/go/main.go b/src/cmd/go/main.go index 7b7f4a450d..2709750fcc 100644 --- a/src/cmd/go/main.go +++ b/src/cmd/go/main.go @@ -242,9 +242,11 @@ func allPackages(what string) []string { have := map[string]bool{ "builtin": true, // ignore pseudo-package that exists only for documentation } - if !build.DefaultContext.CgoEnabled { - have["runtime/cgo"] = true // ignore during walk - } + /* + if !build.DefaultContext.CgoEnabled { + have["runtime/cgo"] = true // ignore during walk + } + */ var pkgs []string // Commands