Files
packages/lang
Jeffery To db9a8a1e74 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>
(cherry picked from 4827bc7509)
2019-12-26 21:09:01 +08:00
..
2019-09-27 10:10:33 -07:00
2018-03-31 15:08:23 +02:00
2017-08-29 21:41:14 -07:00
2018-11-27 09:04:10 -08:00
2019-04-27 17:24:45 +08:00
2018-12-28 10:27:17 -02:00
2019-04-27 23:22:12 -04:00
2019-03-15 12:24:55 -03:00
2018-12-15 22:55:34 -08:00
2019-04-19 18:04:14 -07:00
2019-09-27 12:44:16 -07:00
2019-06-04 14:52:05 +09:00
2019-04-07 15:57:39 -06:00
2019-04-16 21:33:21 -07:00
2019-12-18 21:23:12 +01:00
2019-12-21 14:35:31 +01:00
2019-10-27 16:09:43 -03:00
2018-10-20 15:06:46 -07:00