]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: add cgo build tag to C files
authorRuss Cox <rsc@golang.org>
Wed, 27 Jan 2016 20:58:52 +0000 (15:58 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 27 Jan 2016 21:12:30 +0000 (21:12 +0000)
commite3f3f940a09ee99e952be43fd3b19c969cf229d0
tree6d83aaa2db43876cc0d372b1979195ab10c8d8ba
parent572f7660a774ebd8552408a6058b36cc90f6f563
runtime/cgo: add cgo build tag to C files

This makes "CGO_ENABLED=0 go list runtime/cgo" work,
which fixes the current cmd/go test failure.

Change-Id: Ia55ce3ba1dbb09f618ae5f4c8547722670360f59
Reviewed-on: https://go-review.googlesource.com/19001
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/cgo/gcc_darwin_amd64.c
src/runtime/cgo/gcc_libinit.c
src/runtime/cgo/gcc_setenv.c
src/runtime/cgo/gcc_util.c