mirror of
https://github.com/octoleo/restic.git
synced 2025-01-05 08:02:22 +00:00
build.go: Strip harder (add -w
flag)
This commit is contained in:
parent
38d4522ea5
commit
f967e90a96
2
build.go
2
build.go
@ -370,7 +370,7 @@ func main() {
|
|||||||
if version != "" {
|
if version != "" {
|
||||||
constants["main.version"] = version
|
constants["main.version"] = version
|
||||||
}
|
}
|
||||||
ldflags := "-s " + constants.LDFlags()
|
ldflags := "-s -w " + constants.LDFlags()
|
||||||
verbosePrintf("ldflags: %s\n", ldflags)
|
verbosePrintf("ldflags: %s\n", ldflags)
|
||||||
|
|
||||||
args := []string{
|
args := []string{
|
||||||
|
Loading…
Reference in New Issue
Block a user