Skip to content

Commit

Permalink
tailscale: build with less features
Browse files Browse the repository at this point in the history
See https://github.com/tailscale/tailscale/blob/main/build_dist.sh#L40.
This shaves off about 500kb from the final executable.

Signed-off-by: Zephyr Lykos <[email protected]>
  • Loading branch information
mochaaP committed Aug 2, 2024
1 parent 69db3d6 commit 9591556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/tailscale/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=tailscale
PKG_VERSION:=1.70.0
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/tailscale/tailscale/tar.gz/v$(PKG_VERSION)?
Expand All @@ -28,7 +28,7 @@ GO_PKG:=\
tailscale.com/cmd/tailscaled
GO_PKG_LDFLAGS:=-X 'tailscale.com/version.longStamp=$(PKG_VERSION)-$(PKG_RELEASE) (OpenWrt)'
GO_PKG_LDFLAGS_X:=tailscale.com/version.shortStamp=$(PKG_VERSION)
GO_PKG_TAGS:=ts_include_cli
GO_PKG_TAGS:=ts_include_cli,ts_omit_aws,ts_omit_bird,ts_omit_tap,ts_omit_kube,ts_omit_completion

include $(INCLUDE_DIR)/package.mk
include ../../lang/golang/golang-package.mk
Expand Down

0 comments on commit 9591556

Please sign in to comment.