Skip to content

Commit

Permalink
Build for openbsd
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrownus committed Jul 25, 2023
1 parent e5af94e commit b88fa55
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,12 @@ ALL_LINUX = linux-amd64 \
ALL_FREEBSD = freebsd-amd64 \
freebsd-arm64

ALL_OPENBSD = openbsd-amd64 \
openbsd-arm64

ALL = $(ALL_LINUX) \
$(ALL_FREEBSD) \
$(ALL_OPENBSD) \
darwin-amd64 \
darwin-arm64 \
windows-amd64 \
Expand Down
3 changes: 2 additions & 1 deletion overlay/tun_freebsd.go → overlay/tun_bsd.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !e2e_testing
//go:build (openbsd || freebsd) && !e2e_testing
// +build openbsd freebsd
// +build !e2e_testing

package overlay
Expand Down
3 changes: 2 additions & 1 deletion udp/udp_freebsd.go → udp/udp_bsd.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !e2e_testing
//go:build (openbsd || freebsd) && !e2e_testing
// +build openbsd freebsd
// +build !e2e_testing

package udp
Expand Down

0 comments on commit b88fa55

Please sign in to comment.