From 1b80fdc11de5cc0de2508d3abaa73eab6069acfa Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 21 Dec 2011 08:51:18 -0500 Subject: [PATCH] go/build: add new +build tags 'cgo' and 'nocgo' This lets us mark net's cgo_stub.go as only to be built when cgo is disabled. R=golang-dev, ality, mikioh.mikioh CC=golang-dev https://golang.org/cl/5489100 --- root_stub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root_stub.go b/root_stub.go index 18dcb02..d00493a 100644 --- a/root_stub.go +++ b/root_stub.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build plan9 +// +build plan9 darwin/nocgo package tls