forked from pool/restic
22 lines
1.1 KiB
Diff
22 lines
1.1 KiB
Diff
|
diff -uNr restic.org/build.go restic/build.go
|
||
|
--- restic.org/build.go 2023-01-16 23:09:42.559283644 +0100
|
||
|
+++ restic/build.go 2023-01-16 23:10:38.002960609 +0100
|
||
|
@@ -56,7 +56,7 @@
|
||
|
Name: "restic", // name of the program executable and directory
|
||
|
Namespace: "github.com/restic/restic", // subdir of GOPATH, e.g. "github.com/foo/bar"
|
||
|
Main: "./cmd/restic", // package name for the main package
|
||
|
- DefaultBuildTags: []string{"selfupdate"}, // specify build tags which are always used
|
||
|
+ //DefaultBuildTags: []string{"selfupdate"}, // specify build tags which are always used
|
||
|
Tests: []string{"./..."}, // tests to run
|
||
|
MinVersion: GoVersion{Major: 1, Minor: 18, Patch: 0}, // minimum Go version supported
|
||
|
}
|
||
|
@@ -417,7 +417,7 @@
|
||
|
ldflags := constants.LDFlags()
|
||
|
if !preserveSymbols {
|
||
|
// Strip debug symbols.
|
||
|
- ldflags = "-s -w " + ldflags
|
||
|
+ ldflags = " -w " + ldflags
|
||
|
}
|
||
|
verbosePrintf("ldflags: %s\n", ldflags)
|
||
|
|