From 8a6def501a90cbe4af9ecda867c4872b02470515 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Thu, 2 Sep 2021 05:31:15 +0800 Subject: 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 --- net/kcptun/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'net/kcptun/Makefile') diff --git a/net/kcptun/Makefile b/net/kcptun/Makefile index 7c91beec4..e24bd4d3d 100644 --- a/net/kcptun/Makefile +++ b/net/kcptun/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=kcptun PKG_VERSION:=20201010 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/xtaci/kcptun/tar.gz/v${PKG_VERSION}? @@ -19,7 +19,6 @@ PKG_USE_MIPS16:=0 GO_PKG:=github.com/xtaci/kcptun -GO_PKG_LDFLAGS:=-s -w GO_PKG_LDFLAGS_X:=main.VERSION=$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk -- cgit v1.2.3