mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-15 22:31:52 +01:00
build_dist.sh: add -trimpath
Saves 81KB (20320440 to 20238520 bytes for linux/amd64) Updates #1278 Change-Id: Id607480c76220c74c8854ef1a2459aee650ad7b6 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
61751a0c9a
commit
73bbd7caca
@ -57,4 +57,4 @@ while [ "$#" -gt 1 ]; do
|
||||
esac
|
||||
done
|
||||
|
||||
exec $go build ${tags:+-tags=$tags} -ldflags "$ldflags" "$@"
|
||||
exec $go build ${tags:+-tags=$tags} -trimpath -ldflags "$ldflags" "$@"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user