Browse Source

Merge pull request #16516 from jefferyto/golang-packages-remove-strip-ldflags

treewide: Remove GO_PKG_LDFLAGS for stripping binaries
lilik-openwrt-22.03
Rosen Penev 3 years ago
committed by GitHub
parent
commit
862ff880a8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 5 additions and 15 deletions
  1. +1
    -2
      net/dnscrypt-proxy2/Makefile
  2. +0
    -1
      net/dnslookup/Makefile
  3. +0
    -1
      net/dnsproxy/Makefile
  4. +1
    -2
      net/kcptun/Makefile
  5. +1
    -2
      net/nextdns/Makefile
  6. +1
    -2
      net/restic-rest-server/Makefile
  7. +0
    -1
      net/v2raya/Makefile
  8. +0
    -1
      net/xray-core/Makefile
  9. +1
    -2
      utils/restic/Makefile
  10. +0
    -1
      utils/yq/Makefile

+ 1
- 2
net/dnscrypt-proxy2/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dnscrypt-proxy2
PKG_VERSION:=2.1.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=dnscrypt-proxy-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/DNSCrypt/dnscrypt-proxy/tar.gz/$(PKG_VERSION)?
@ -25,7 +25,6 @@ PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
GO_PKG:=github.com/DNSCrypt/dnscrypt-proxy
GO_PKG_LDFLAGS:=-s -w
include $(INCLUDE_DIR)/package.mk
include ../../lang/golang/golang-package.mk


+ 0
- 1
net/dnslookup/Makefile View File

@ -21,7 +21,6 @@ PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
GO_PKG:=github.com/ameshkov/dnslookup
GO_PKG_LDFLAGS:=-s -w
GO_PKG_LDFLAGS_X:=main.VersionString=v$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk


+ 0
- 1
net/dnsproxy/Makefile View File

@ -21,7 +21,6 @@ PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
GO_PKG:=github.com/AdguardTeam/dnsproxy
GO_PKG_LDFLAGS:=-s -w
GO_PKG_LDFLAGS_X:=main.VersionString=v$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk


+ 1
- 2
net/kcptun/Makefile View File

@ -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


+ 1
- 2
net/nextdns/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nextdns
PKG_VERSION:=1.36.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=nextdns-$(PKG_VERSION).tar.gz
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
@ -25,7 +25,6 @@ PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
GO_PKG:=github.com/nextdns/nextdns
GO_PKG_LDFLAGS:=-s -w
GO_PKG_LDFLAGS_X:=main.version=$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk


+ 1
- 2
net/restic-rest-server/Makefile View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=restic-rest-server
PKG_VERSION:=0.9.7
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_BUILD_DIR:=$(BUILD_DIR)/rest-server-$(PKG_VERSION)
PKG_SOURCE:=rest-server-$(PKG_VERSION).tar.gz
@ -19,7 +19,6 @@ PKG_USE_MIPS16:=0
GO_PKG:=github.com/restic/rest-server/
GO_PKG_BUILD_PKG:=github.com/restic/rest-server/cmd/rest-server/
GO_PKG_LDFLAGS:=-s -w
GO_PKG_LDFLAGS_X:=main.version=$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk


+ 0
- 1
net/v2raya/Makefile View File

@ -22,7 +22,6 @@ PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
GO_PKG:=github.com/v2rayA/v2rayA
GO_PKG_LDFLAGS:=-s -w
GO_PKG_LDFLAGS_X:=$(GO_PKG)/global.Version=$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk


+ 0
- 1
net/xray-core/Makefile View File

@ -19,7 +19,6 @@ PKG_USE_MIPS16:=0
GO_PKG:=github.com/xtls/xray-core
GO_PKG_BUILD_PKG:=github.com/xtls/xray-core/main
GO_PKG_LDFLAGS:=-s -w
GO_PKG_LDFLAGS_X:= \
$(GO_PKG)/core.build=OpenWrt \
$(GO_PKG)/core.version=$(PKG_VERSION)


+ 1
- 2
utils/restic/Makefile View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=restic
PKG_VERSION:=0.9.6
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/restic/restic/tar.gz/v${PKG_VERSION}?
@ -18,7 +18,6 @@ PKG_USE_MIPS16:=0
GO_PKG:=github.com/restic/restic/
GO_PKG_BUILD_PKG:=github.com/restic/restic/cmd/restic/
GO_PKG_LDFLAGS:=-s -w
GO_PKG_LDFLAGS_X:=main.version=$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk


+ 0
- 1
utils/yq/Makefile View File

@ -17,7 +17,6 @@ PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
GO_PKG:=github.com/mikefarah/yq
GO_PKG_LDFLAGS:=-s -w
include $(INCLUDE_DIR)/package.mk
include ../../lang/golang/golang-package.mk


Loading…
Cancel
Save