syncthing: add GO_PKG_TAGS

This commit is contained in:
CN_SZTL 2020-07-16 20:03:36 +08:00
parent eda338f871
commit 0e650f7a86
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -42,9 +42,10 @@ GO_PKG_LDFLAGS_X:= \
github.com/syncthing/syncthing/lib/build.User=ctcgfw \
github.com/syncthing/syncthing/lib/build.Host=project-openwrt \
github.com/syncthing/syncthing/lib/build.Program=syncthing
GO_PKG_TAGS:=noupgrade
define Build/Compile
$(call GoPackage/Build/Compile,-tags noupgrade)
$(call GoPackage/Build/Compile)
$(STAGING_DIR_HOST)/bin/upx --lzma --best $(GO_PKG_BUILD_BIN_DIR)/syncthing
endef