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:
parent
a9e80214a5
commit
0fe0a588dc
@ -19,5 +19,6 @@ def go_binary(name, **kwargs):
|
||||
real_go_binary(
|
||||
name = name,
|
||||
x_defs = version_x_defs(),
|
||||
gc_linkopts = ["-s", "-w"],
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user