1
0
mirror of https://github.com/golang/go synced 2024-11-23 20:30:04 -07:00

cmd/go: include "gccgo stdlib" in lost build action check

Fixes #32060

Change-Id: I49ab48a9bdd64a7ed777a045e2d92d28a37b5c0b
Reviewed-on: https://go-review.googlesource.com/c/go/+/177600
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Bryan C. Mills 2019-05-16 13:28:35 -04:00
parent 48b7bdd0d7
commit e1fb8e4291

View File

@ -430,7 +430,7 @@ func (b *Builder) CompileAction(mode, depMode BuildMode, p *load.Package) *Actio
// by the install action during (*Builder).installAction.
buildAction := a
switch buildAction.Mode {
case "build", "built-in package":
case "build", "built-in package", "gccgo stdlib":
// ok
case "build-install":
buildAction = a.Deps[0]