Fix gitrev build argument for Go 1.10
Fix gitrev build argument for Go 1.10

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

la5nta/pat,la5nta/pat,la5nta/pat,la5nta/pat