From 0a7c4d82e4cbf05ee28549e7e6ef19aa4f262325 Mon Sep 17 00:00:00 2001 From: "Sean E. Russell" Date: Thu, 28 May 2020 17:50:47 -0500 Subject: Always use Dup2 on FreeBSD. Clears up the FreeBSD dup2 patch issues; the build flags were causing compile failures on other target OSes. --- logging/logging_arm64.go | 2 +- logging/logging_other.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/logging/logging_arm64.go b/logging/logging_arm64.go index 03848bb..b88c479 100644 --- a/logging/logging_arm64.go +++ b/logging/logging_arm64.go @@ -1,4 +1,4 @@ -// +build arm64 +// +build !freebsd,arm64 package logging diff --git a/logging/logging_other.go b/logging/logging_other.go index fd88b83..e910821 100644 --- a/logging/logging_other.go +++ b/logging/logging_other.go @@ -1,5 +1,4 @@ -// +build linux openbsd freebsd darwin -// +build !arm64 +// +build linux,!arm64 openbsd,!arm64 freebsd darwin,!arm64 package logging -- cgit v1.2.3