зеркало из https://github.com/mislav/hub.git
39e1523442
golang does not natively respect LDFLAGS, but you can pass them on the command line using -ldflags=-extldflags=... This is important for distributions, in order to provide common functionality such as hardening flags. Also strip the prefixed root source directory from the embedded source file paths. This is not important information for the debugger, which should only care about paths relative to $GOPATH, and results in less build environment metadata leaking into the final binary. (This also aids in reproducible builds when using different build directories, see e.g. https://github.com/golang/go/issues/16860) |
||
---|---|---|
.. | ||
bootstrap | ||
build | ||
build.bat | ||
cached-bundle | ||
changelog | ||
coverage | ||
cross-compile | ||
github-release | ||
install.bat | ||
install.sh | ||
package | ||
publish-release | ||
ruby-test | ||
s3-put | ||
test | ||
version | ||
version.bat |