1
0
mirror of https://github.com/golang/go synced 2024-11-25 10:17:57 -07:00

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 { if build.DefaultContext.CgoEnabled {
switch b.goos { switch b.goos {
case "windows": case "windows":
a = append(a, "-mthread") a = append(a, "-mthreads")
default: default:
a = append(a, "-pthread") a = append(a, "-pthread")
} }