treewide: Remove GO_PKG_LDFLAGS for stripping binaries 16516/head
authorJeffery To <jeffery.to@gmail.com>
Wed, 1 Sep 2021 21:31:15 +0000 (05:31 +0800)
committerJeffery To <jeffery.to@gmail.com>
Wed, 1 Sep 2021 21:31:15 +0000 (05:31 +0800)
commit8a6def501a90cbe4af9ecda867c4872b02470515
tree95529bb4d8ac802ad9257e6a6d1d0bbffff2bdff
parent1f132a184b60b3fc5e263a88d4b6559cd3adf819
treewide: Remove GO_PKG_LDFLAGS for stripping binaries

The "-s -w" flags in GO_PKG_LDFLAGS tells the Go compiler to strip the
binaries it produces. Since the default Go package build process will
strip binaries when CONFIG_USE_STRIP or CONFIG_USE_SSTRIP are selected,
these flags are unnecessary.

When CONFIG_NO_STRIP is selected, these flags override the user's
intention of building unstripped packages.

This removes these flags for all relevant packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
net/dnscrypt-proxy2/Makefile
net/dnslookup/Makefile
net/dnsproxy/Makefile
net/kcptun/Makefile
net/nextdns/Makefile
net/restic-rest-server/Makefile
net/v2raya/Makefile
net/xray-core/Makefile
utils/restic/Makefile
utils/yq/Makefile