]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove an obsolete file
authorMikio Hara <mikioh.mikioh@gmail.com>
Tue, 21 Feb 2012 03:07:38 +0000 (12:07 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Tue, 21 Feb 2012 03:07:38 +0000 (12:07 +0900)
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5686049

src/pkg/runtime/cgo/cgo.go
src/pkg/runtime/cgo/trigger.go [deleted file]

index 5dcced1e42dd1d233019a2a65576586395fb5cd7..414f3da360041974d64fefe77f9088bfdfa76cbd 100644 (file)
@@ -9,6 +9,18 @@ for details on using cgo.
 */
 package cgo
 
+/*
+
+#cgo darwin LDFLAGS: -lpthread
+#cgo freebsd LDFLAGS: -lpthread
+#cgo linux LDFLAGS: -lpthread
+#cgo netbsd LDFLAGS: -lpthread
+#cgo openbsd LDFLAGS: -lpthread
+#cgo windows LDFLAGS: -lm -mthreads
+
+*/
+import "C"
+
 // Supports _cgo_panic by converting a string constant to an empty
 // interface.
 
diff --git a/src/pkg/runtime/cgo/trigger.go b/src/pkg/runtime/cgo/trigger.go
deleted file mode 100644 (file)
index a778811..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2011 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// This tells the go tool that this package builds using cgo.
-// TODO: Once we stop using Make, this import can move into cgo.go.
-
-package cgo
-
-/*
-
-#cgo darwin LDFLAGS: -lpthread
-#cgo freebsd LDFLAGS: -lpthread
-#cgo linux LDFLAGS: -lpthread
-#cgo netbsd LDFLAGS: -lpthread
-#cgo openbsd LDFLAGS: -lpthread
-#cgo windows LDFLAGS: -lm -mthreads
-
-*/
-import "C"