mirror of
https://github.com/restic/restic.git
synced 2024-12-21 23:33:03 +00:00
Merge pull request #5138 from vmlemon/issue-5131
Implement basic DragonFlyBSD support
This commit is contained in:
commit
0bf8af7188
3 changed files with 17 additions and 10 deletions
6
changelog/unreleased/issue-5131
Normal file
6
changelog/unreleased/issue-5131
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Enhancement: Add DragonflyBSD support
|
||||||
|
|
||||||
|
Restic can now be compiled on DragonflyBSD.
|
||||||
|
|
||||||
|
https://github.com/restic/restic/issues/5131
|
||||||
|
https://github.com/restic/restic/pull/5138
|
|
@ -243,14 +243,15 @@ func buildTargets(sourceDir, outputDir string, targets map[string][]string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var defaultBuildTargets = map[string][]string{
|
var defaultBuildTargets = map[string][]string{
|
||||||
"aix": {"ppc64"},
|
"aix": {"ppc64"},
|
||||||
"darwin": {"amd64", "arm64"},
|
"darwin": {"amd64", "arm64"},
|
||||||
"freebsd": {"386", "amd64", "arm"},
|
"dragonfly": {"amd64"},
|
||||||
"linux": {"386", "amd64", "arm", "arm64", "ppc64le", "mips", "mipsle", "mips64", "mips64le", "riscv64", "s390x"},
|
"freebsd": {"386", "amd64", "arm"},
|
||||||
"netbsd": {"386", "amd64"},
|
"linux": {"386", "amd64", "arm", "arm64", "ppc64le", "mips", "mipsle", "mips64", "mips64le", "riscv64", "s390x"},
|
||||||
"openbsd": {"386", "amd64"},
|
"netbsd": {"386", "amd64"},
|
||||||
"windows": {"386", "amd64"},
|
"openbsd": {"386", "amd64"},
|
||||||
"solaris": {"amd64"},
|
"windows": {"386", "amd64"},
|
||||||
|
"solaris": {"amd64"},
|
||||||
}
|
}
|
||||||
|
|
||||||
func downloadModules(sourceDir string) {
|
func downloadModules(sourceDir string) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build aix || netbsd || openbsd
|
//go:build aix || dragonfly || netbsd || openbsd
|
||||||
// +build aix netbsd openbsd
|
// +build aix dragonfly netbsd openbsd
|
||||||
|
|
||||||
package fs
|
package fs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue