summaryrefslogtreecommitdiff
path: root/lang/python/python-awscli
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2019-12-26 20:53:40 +0800
committerJeffery To <jeffery.to@gmail.com>2019-12-26 20:53:40 +0800
commit4827bc7509f221a2a3585ba99ef9d7c331356db2 (patch)
tree26dbe3f31c8ea0d330a94c34c9f1ba48d7d7a8b1 /lang/python/python-awscli
parent8b771491c9238f937a8773e48871aa7d24d77796 (diff)
golang: Fix ldflags when GO_PKG_LDFLAGS is set
go build/install supports multiple -ldflags arguments, but they are not combined; for each package, the latest match on the command line is used.[1] Previously, the main executable would not be affected by the default ldflags if GO_PKG_LDFLAGS or GO_PKG_LDFLAGS_X were set. (The default ldflags instructs go to use the external linker.) This fixes golang-package.mk so that the default ldflags take effect in all cases. [1]: https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-awscli')
0 files changed, 0 insertions, 0 deletions