From 8a4261203136f27c6941f5f2034d8b64f2896723 Mon Sep 17 00:00:00 2001 From: mikael Date: Wed, 29 Apr 2020 17:32:00 +0200 Subject: Use dup2 on FreeBSD aarch64 Update changelog. 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(-) (limited to 'logging') 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