|
|
|
|
|
|
|
|
|
|
|
|
| |
no-pic: This is needed for building go executables on Alpine which
uses the external linker (cgo). Examples from our tree include
docker, consul and gogs. Go does not support compiling PIC executables.
Since the gcc specs used by Alpine enables PIC by default it has to be
disabled. Without disabling PIC the executable gets a ton of erroneous
textrels which results in a segfault when musl tries to resolve them.
_SC_GETPW_R_SIZE_MAX: since musl defines this to -1 we have to
provide a default value. Use a more recent patch from upstream which
will be available in Go 1.6.
|