Skip to content

Commit

Permalink
fix openbsd build by disabling fuse on openbsd
Browse files Browse the repository at this point in the history
fixes #5334
  • Loading branch information
Stebalien committed Jul 22, 2019
1 parent 55afc47 commit 20604bc
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion fuse/ipns/ipns_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !nofuse
// +build !nofuse,!openbsd

package ipns

Expand Down
2 changes: 1 addition & 1 deletion fuse/ipns/ipns_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !nofuse
// +build !nofuse,!openbsd

// package fuse/ipns implements a fuse filesystem that interfaces
// with ipns, the naming system for ipfs.
Expand Down
2 changes: 1 addition & 1 deletion fuse/ipns/link_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !nofuse
// +build !nofuse,!openbsd

package ipns

Expand Down
3 changes: 1 addition & 2 deletions fuse/mount/fuse.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// +build !nofuse
// +build !windows
// +build !nofuse,!windows,!openbsd

package mount

Expand Down
2 changes: 1 addition & 1 deletion fuse/node/mount_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !nofuse
// +build !openbsd,!nofuse

package node

Expand Down
2 changes: 1 addition & 1 deletion fuse/node/mount_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !windows,!nofuse
// +build !windows,!openbsd,!nofuse

package node

Expand Down
2 changes: 1 addition & 1 deletion fuse/readonly/ipfs_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !nofuse
// +build !nofuse,!openbsd

package readonly

Expand Down
2 changes: 1 addition & 1 deletion fuse/readonly/mount_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux darwin freebsd netbsd openbsd
// +build linux darwin freebsd netbsd
// +build !nofuse

package readonly
Expand Down
2 changes: 1 addition & 1 deletion fuse/readonly/readonly_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux darwin freebsd netbsd openbsd
// +build linux darwin freebsd netbsd
// +build !nofuse

package readonly
Expand Down
4 changes: 4 additions & 0 deletions mk/util.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ SUPPORTED_PLATFORMS += linux-amd64
SUPPORTED_PLATFORMS += darwin-386
SUPPORTED_PLATFORMS += darwin-amd64

SUPPORTED_PLATFORMS += freebsd-386
SUPPORTED_PLATFORMS += freebsd-amd64

SUPPORTED_PLATFORMS += openbsd-386
SUPPORTED_PLATFORMS += openbsd-amd64

space:=
space+=
comma:=,
Expand Down

0 comments on commit 20604bc

Please sign in to comment.