summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-24 19:18:01 -0400
committerRuss Cox <rsc@golang.org>2014-09-24 19:18:01 -0400
commit80f4a0c8e719f9aa7db30c3b709e810923f1626e (patch)
treec85a87067fab382cdf7e128705536d8dce2a11df /src/net
parent79c0c8a7fb5088f9f756d0774707b735ff426876 (diff)
downloadgo-80f4a0c8e719f9aa7db30c3b709e810923f1626e.tar.gz
cmd/go: fix bytes and net the right way
Not sure why they used empty.s and all these other packages were special cased in cmd/go instead. Add them to the list. This avoids problems with net .s files being compiled with gcc in cgo mode and gcc not supporting // comments on ARM. Not a problem with bytes, but be consistent. The last change fixed the ARM build but broke the Windows build. Maybe *this* will make everyone happy. Sigh. TBR=iant CC=golang-codereviews https://codereview.appspot.com/144530046
Diffstat (limited to 'src/net')
-rw-r--r--src/net/empty.s10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/net/empty.s b/src/net/empty.s
deleted file mode 100644
index f0b255a0c..000000000
--- a/src/net/empty.s
+++ /dev/null
@@ -1,10 +0,0 @@
-// Copyright 2013 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.
-
-// +build !cgo
-
-// This file is required to prevent compiler errors
-// when the package built with CGO_ENABLED=0.
-// Otherwise the compiler says:
-// pkg/net/fd_poll_runtime.go:15: missing function body