Debian stable now ships with Go 1.11, and 1.11 are available for
oldstable through backports. Keeping compatibility with older versions
seems unnecessary.
Users are adviced to use the latest stable Go version.
Closes#122
On Go 1.10 the -ldflags should only apply to packages explicitly listed in the
packages list of the build command. It is probably a bug that the ldflags option
does not apply when omitting the package name (go build) on Linux.
https://github.com/golang/go/issues/24310
A new debian policy restricts the use of fPIC compiled static libraries,
which is (apparently) required by cgo. libax25 in Debian Stretch is
built without fPIC, so we can't use it anymore.
I've included a function in make.bash that downloads and compiles
libax25 to use when building the static Pat binary. Users can use the
env variable CGO_LDFLAGS to specify a custom libax25.a path.