mirror of
https://github.com/golang/go
synced 2024-11-21 23:14:40 -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:
parent
e636f6f51c
commit
98fe44bdfc
@ -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")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user