From f967e90a96e8d3dda13971252405daa7c168aae0 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 16 Jul 2016 09:42:22 +1200 Subject: [PATCH] build.go: Strip harder (add `-w` flag) --- build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{