aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMikio Hara <mikioh.mikioh@gmail.com>2012-02-21 12:07:38 +0900
committerMikio Hara <mikioh.mikioh@gmail.com>2012-02-21 12:07:38 +0900
commit22c41ff019592edcc7f7039d1ac0fffd638c4b7b (patch)
tree17d3e96bf7cd41702ec643d1a3a6233e85dfeba3 /src
parent10689cddba909df37de252fe2dd3d16799c73dc7 (diff)
downloadgo-22c41ff019592edcc7f7039d1ac0fffd638c4b7b.tar.xz
runtime: remove an obsolete file
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5686049
Diffstat (limited to 'src')
-rw-r--r--src/pkg/runtime/cgo/cgo.go12
-rw-r--r--src/pkg/runtime/cgo/trigger.go20
2 files changed, 12 insertions, 20 deletions
diff --git a/src/pkg/runtime/cgo/cgo.go b/src/pkg/runtime/cgo/cgo.go
index 5dcced1e42..414f3da360 100644
--- a/src/pkg/runtime/cgo/cgo.go
+++ b/src/pkg/runtime/cgo/cgo.go
@@ -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
index a7788118fa..0000000000
--- a/src/pkg/runtime/cgo/trigger.go
+++ /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"