Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/guru: if built with gccgo, switch to gc mode if GOROOT is valid
The gccgo compiler does not provide a gc-style GOROOT with standard library sources. The effect is that guru may not fully work when using gccgo. However, it can fully work if the GOROOT environment variable points to valid gc-style GOROOT. In that case, make it work by telling the go/build package to use gc mode. Change-Id: Iadff8be61be8cc9a7ff2ca0a067b116b62895451 Reviewed-on: https://go-review.googlesource.com/117997 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com>
- Loading branch information