Skip to content

Commit

Permalink
tailscale: build with less features
Browse files Browse the repository at this point in the history
Omit usually unused features:

- ipn.StateStore implementation using AWS SSM
- BIRD Internet Routing Daemon client
- tstun TAP device for bridging
- Kubernetes kubectl configuration utility
- Command line completion script generation

This shaves off about 500kb from the final executable.
  • Loading branch information
mochaaP committed Sep 18, 2024
1 parent 22dd9a0 commit 389d5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/tailscale/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 389d5fb

Please sign in to comment.