mirror of
https://github.com/golang/go
synced 2024-11-24 06:20:02 -07:00
runtime/cgo: do not link threads lib by default on windows
I do not know why it is included. All tests pass without it. Change-Id: I839076ee131816dfd177570a902c69fe8fba5022 Reviewed-on: https://go-review.googlesource.com/32144 Run-TryBot: Minux Ma <minux@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
79d2115ec9
commit
f595848e9a
@ -20,7 +20,6 @@ package cgo
|
||||
#cgo !android,linux LDFLAGS: -lpthread
|
||||
#cgo netbsd LDFLAGS: -lpthread
|
||||
#cgo openbsd LDFLAGS: -lpthread
|
||||
#cgo windows LDFLAGS: -mthreads
|
||||
|
||||
#cgo CFLAGS: -Wall -Werror
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user