6 Commits

Author SHA1 Message Date
Natanael Copa
b46a3d4f3d Revert "community/go: Fix the cannot find runtime/cgo-warning"
This change broke building of various packages, like docker and
gomplate.

This reverts commit 9686793792a2c40a872ebbb2b86fa537f22491ad.
2018-11-22 15:20:21 +00:00
Sören Tempel
9686793792 community/go: Fix the cannot find runtime/cgo-warning
This warning seems to be emitted since we build with `-shared` for PIE
by default through our `default-buildmode-pie.patch`. Building with
shared linkage requires depending on CGO. The patch, however, doesn't
force a dependency on CGO. As with android we need to force external
linkage in order to always depend on CGO thereby resolving this warning.

I am unsure whether this is really the best way to fix the problem since
I don't know enough about the internals of the go compiler. However, I
am under the impression that the person who originally committed the
patch isn't familiar with the compiler internals either. Thus it's
probably ok to push this as is.
2018-10-07 18:41:55 +02:00
Natanael Copa
b02b8f39c2 community/go: upgrade to 1.10 2018-02-28 14:09:29 +00:00
Sören Tempel
33f4f12cb6 community/go: upgrade to 1.9
Also remove cover:

> For Go releases 1.5 and later, this tool lives in the standard
repository. The code here is not maintained.

See: https://godoc.org/golang.org/x/tools/cmd/cover
2017-08-29 17:56:44 +00:00
Tuan M. Hoang
b5f0896153 community/go: default buildmode=pie on s390x 2017-06-09 15:30:28 +00:00
Timo Teräs
9515100a5f community/go: default buildmode=pie 2016-07-07 12:10:15 +03:00