Commit 98fe44bd authored by Mikio Hara's avatar Mikio Hara

cmd/go: fix windows build

R=golang-dev, alex.brainman, rsc
CC=golang-dev
https://golang.org/cl/5502066
parent e636f6f5
......@@ -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")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment