From: Mikio Hara Date: Thu, 22 Dec 2011 15:14:59 +0000 (+0900) Subject: cmd/go: fix windows build X-Git-Tag: weekly.2011-12-22~31 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=98fe44bdfcd6197cd19cfe3bab000b26d521c01e;p=gostls13.git cmd/go: fix windows build R=golang-dev, alex.brainman, rsc CC=golang-dev https://golang.org/cl/5502066 --- diff --git a/src/cmd/go/build.go b/src/cmd/go/build.go index 62c8d90d30..7e87956e7d 100644 --- a/src/cmd/go/build.go +++ b/src/cmd/go/build.go @@ -917,7 +917,7 @@ func (b *builder) gccCmd(objdir string, flags []string, args ...string) []string if build.DefaultContext.CgoEnabled { switch b.goos { case "windows": - a = append(a, "-mthread") + a = append(a, "-mthreads") default: a = append(a, "-pthread") }