From 7e03a6cc6b6c59c0aefa385d6405ad3814f153fa Mon Sep 17 00:00:00 2001 From: Danielle De Leo Date: Tue, 9 Jan 2024 13:14:41 -0500 Subject: Go: Add missing +build and go:build comments A RHEL 8 test was failing because it uses go1.16. The old style must be retained for backwards compat. Fixes: 9a36de84c ("Go: Use Homebrew include paths") Reviewed-by: Andrew Clayton Reviewed-by: Dylan Arbour Signed-off-by: Danielle De Leo --- go/ldflags-darwin.go | 1 + go/ldflags-lrt.go | 1 + 2 files changed, 2 insertions(+) diff --git a/go/ldflags-darwin.go b/go/ldflags-darwin.go index 34cfac1a..77114ee4 100644 --- a/go/ldflags-darwin.go +++ b/go/ldflags-darwin.go @@ -1,4 +1,5 @@ //go:build darwin +// +build darwin /* * Copyright (C) Danielle De Leo diff --git a/go/ldflags-lrt.go b/go/ldflags-lrt.go index f5a63508..68a29145 100644 --- a/go/ldflags-lrt.go +++ b/go/ldflags-lrt.go @@ -1,3 +1,4 @@ +//go:build linux || netbsd // +build linux netbsd /* -- cgit