cmd/go: fix windows build

R=golang-dev, alex.brainman, rsc
CC=golang-dev
https://golang.org/cl/5502066
This commit is contained in:
Mikio Hara 2011-12-23 00:14:59 +09:00
parent e636f6f51c
commit 98fe44bdfc

View File

@ -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")
}