Commit 0fcb24b9 authored by Russ Cox's avatar Russ Cox

cmd/go: fix build (piece of 5489100 leaked in to last checkin)

TBR=golang-dev
CC=golang-dev
https://golang.org/cl/5489102
parent 6645602c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment