From: Russ Cox Date: Wed, 12 Nov 2014 04:28:26 +0000 (-0500) Subject: [dev.cc] runtime/cgo: fix freebsd build? X-Git-Tag: go1.5beta1~2688^2~62 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a9695a5d3894bd257f6a6ca7c042b71359a23410;p=gostls13.git [dev.cc] runtime/cgo: fix freebsd build? Last try and then someone with a FreeBSD has to do it. TBR=r CC=golang-codereviews https://golang.org/cl/171590043 --- diff --git a/src/runtime/cgo/freebsd.go b/src/runtime/cgo/freebsd.go index f0628b7aa0..3b01432365 100644 --- a/src/runtime/cgo/freebsd.go +++ b/src/runtime/cgo/freebsd.go @@ -15,5 +15,8 @@ import _ "unsafe" //go:linkname _environ environ //go:linkname _progname __progname +//go:cgo_export_static environ +//go:cgo_export_static __progname + var _environ uintptr var _progname uintptr