]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/cgo: do not link threads lib by default on windows
authorAlex Brainman <alex.brainman@gmail.com>
Fri, 28 Oct 2016 00:51:22 +0000 (11:51 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Fri, 28 Oct 2016 04:36:31 +0000 (04:36 +0000)
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>
src/runtime/cgo/cgo.go

index b21458fb7e97a1c57b9e8de07f3a501bf0d12311..241a821e4f0e8fb18ecba2ad8c01f8e4a2e6befd 100644 (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