add -s and -w flags to the go_binary linkopts

Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
This commit is contained in:
Inteon 2021-07-01 13:57:28 +02:00
parent a9e80214a5
commit 0fe0a588dc
No known key found for this signature in database
GPG Key ID: BD5DCF7303C7C1A7

View File

@ -19,5 +19,6 @@ def go_binary(name, **kwargs):
real_go_binary(
name = name,
x_defs = version_x_defs(),
gc_linkopts = ["-s", "-w"],
**kwargs,
)