From 34f72ecf8f737c6173f3ef6f5e5c5fc92007cf4e Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sun, 19 Oct 2014 13:54:10 +0200 Subject: [PATCH] OpenBSD support (fixes #878) --- build.sh | 3 +++ cmd/syncthing/memsize_unimpl.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 847fd827..50dfded9 100755 --- a/build.sh +++ b/build.sh @@ -57,6 +57,9 @@ case "${1:-default}" in go run build.go -goos freebsd -goarch amd64 tar go run build.go -goos freebsd -goarch 386 tar + go run build.go -goos openbsd -goarch amd64 tar + go run build.go -goos openbsd -goarch 386 tar + go run build.go -goos darwin -goarch amd64 tar go run build.go -goos windows -goarch amd64 zip diff --git a/cmd/syncthing/memsize_unimpl.go b/cmd/syncthing/memsize_unimpl.go index c226efa7..05b0c2d6 100644 --- a/cmd/syncthing/memsize_unimpl.go +++ b/cmd/syncthing/memsize_unimpl.go @@ -13,7 +13,7 @@ // You should have received a copy of the GNU General Public License along // with this program. If not, see . -// +build freebsd +// +build freebsd openbsd package main