1
0
mirror of https://github.com/golang/go synced 2024-11-24 04:20:03 -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:
Alex Brainman 2016-10-28 11:51:22 +11:00
parent 79d2115ec9
commit f595848e9a

View File

@ -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