disable upx compress due to 64bit elf support
This commit is contained in:
parent
8db5e2cc02
commit
b301caa91f
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=frp
|
PKG_NAME:=frp
|
||||||
PKG_VERSION:=0.25.3
|
PKG_VERSION:=0.25.3
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/fatedier/frp/tar.gz/v$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/fatedier/frp/tar.gz/v$(PKG_VERSION)?
|
||||||
@ -78,7 +78,6 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GoPackage/Build/Compile,-ldflags "-s -w")
|
$(call GoPackage/Build/Compile,-ldflags "-s -w")
|
||||||
chmod +x $$(GO_PKG_BUILD_BIN_DIR)/frpc && upx --ultra-brute $$(GO_PKG_BUILD_BIN_DIR)/frpc
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
FRP_COMPONENTS:=frpc frps
|
FRP_COMPONENTS:=frpc frps
|
||||||
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=v2ray-core
|
PKG_NAME:=v2ray-core
|
||||||
PKG_VERSION:=4.18.0
|
PKG_VERSION:=4.18.0
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/v2ray/v2ray-core/tar.gz/v$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/v2ray/v2ray-core/tar.gz/v$(PKG_VERSION)?
|
||||||
@ -149,7 +149,6 @@ define Build/Compile
|
|||||||
$(eval GO_PKG_BUILD_PKG:=v2ray.com/core/main)
|
$(eval GO_PKG_BUILD_PKG:=v2ray.com/core/main)
|
||||||
$(call GoPackage/Build/Compile,-ldflags "-s -w")
|
$(call GoPackage/Build/Compile,-ldflags "-s -w")
|
||||||
mv -f $(GO_PKG_BUILD_BIN_DIR)/main $(GO_PKG_BUILD_BIN_DIR)/v2ray
|
mv -f $(GO_PKG_BUILD_BIN_DIR)/main $(GO_PKG_BUILD_BIN_DIR)/v2ray
|
||||||
chmod +x $(GO_PKG_BUILD_BIN_DIR)/v2ray && upx --ultra-brute $(GO_PKG_BUILD_BIN_DIR)/v2ray
|
|
||||||
|
|
||||||
$(eval GO_PKG_BUILD_PKG:=v2ray.com/core/infra/control/main)
|
$(eval GO_PKG_BUILD_PKG:=v2ray.com/core/infra/control/main)
|
||||||
$(call GoPackage/Build/Compile,-ldflags "-s -w")
|
$(call GoPackage/Build/Compile,-ldflags "-s -w")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user