Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix:restic
restic-unstable
build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File build.patch of Package restic-unstable
Index: restic/build.go =================================================================== --- restic.orig/build.go +++ restic/build.go @@ -56,7 +56,7 @@ var config = Config{ 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 } @@ -130,6 +130,7 @@ func build(cwd string, env map[string]st a = append(a, "-buildmode=pie") } + a = append(a, "-mod=vendor") a = append(a, args...) cmd := exec.Command("go", a...) cmd.Env = os.Environ() @@ -417,7 +418,7 @@ func main() { ldflags := constants.LDFlags() if !preserveSymbols { // Strip debug symbols. - ldflags = "-s -w " + ldflags + ldflags = " -w " + ldflags } verbosePrintf("ldflags: %s\n", ldflags)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor