]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.cc] runtime/cgo: fix freebsd build?
authorRuss Cox <rsc@golang.org>
Wed, 12 Nov 2014 04:28:26 +0000 (23:28 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 12 Nov 2014 04:28:26 +0000 (23:28 -0500)
Last try and then someone with a FreeBSD has to do it.

TBR=r
CC=golang-codereviews
https://golang.org/cl/171590043

src/runtime/cgo/freebsd.go

index f0628b7aa06479ccb75b3ab7e22632d9795840ea..3b014323653db782eef6870c673c07e151f28482 100644 (file)
@@ -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