From 04cd5e80eecca6b303fdf9a59223931ff72c325f Mon Sep 17 00:00:00 2001 From: janv37 Date: Wed, 8 Feb 2017 18:21:24 +0100 Subject: [PATCH] Add build support for OpenBSD on i386 and amd64 (#2005) --- buildscripts/checkdeps.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buildscripts/checkdeps.sh b/buildscripts/checkdeps.sh index 1f4670db..a556cea8 100755 --- a/buildscripts/checkdeps.sh +++ b/buildscripts/checkdeps.sh @@ -148,7 +148,7 @@ check_golang_env() { assert_is_supported_os() { case "${KNAME}" in - Linux | FreeBSD ) + Linux | FreeBSD | OpenBSD ) return ;; Darwin ) @@ -164,20 +164,20 @@ assert_is_supported_os() { *) echo "ERROR" echo "OS '${KNAME}' is not supported." - echo "Supported OS: [Linux, FreeBSD, Darwin]" + echo "Supported OS: [Linux, FreeBSD, OpenBSD, Darwin]" exit 1 esac } assert_is_supported_arch() { case "${ARCH}" in - x86_64 | amd64 | aarch64 | arm* ) + i386 | x86_64 | amd64 | aarch64 | arm* ) return ;; *) echo "ERROR" echo "Arch '${ARCH}' not supported." - echo "Supported Arch: [x86_64, amd64, aarch64, arm*]" + echo "Supported Arch: [i386, x86_64, amd64, aarch64, arm*]" exit 1 esac }