2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-10 15:21:03 +00:00

build.go: Strip harder (add -w flag)

This commit is contained in:
mappu 2016-07-16 09:42:22 +12:00
parent 38d4522ea5
commit f967e90a96

View File

@ -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{