diff --git a/build.go b/build.go index 70091fc66..d8b7956f6 100644 --- a/build.go +++ b/build.go @@ -370,7 +370,7 @@ func main() { if version != "" { constants["main.version"] = version } - ldflags := "-s " + constants.LDFlags() + ldflags := "-s -w " + constants.LDFlags() verbosePrintf("ldflags: %s\n", ldflags) args := []string{