Skip to content

Commit

Permalink
Go: Add missing +build and go:build comments
Browse files Browse the repository at this point in the history
A RHEL 8 test was failing because it uses go1.16. The old style must
be retained for backwards compat.

Fixes: 9a36de8 ("Go: Use Homebrew include paths")
Reviewed-by: Andrew Clayton <[email protected]>
Reviewed-by: Dylan Arbour <[email protected]>
Signed-off-by: Danielle De Leo <[email protected]>
  • Loading branch information
danielledeleo committed Jan 10, 2024
1 parent 263460d commit 7e03a6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions go/ldflags-darwin.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build darwin
// +build darwin

/*
* Copyright (C) Danielle De Leo
Expand Down
1 change: 1 addition & 0 deletions go/ldflags-lrt.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build linux || netbsd
// +build linux netbsd

/*
Expand Down

0 comments on commit 7e03a6c

Please sign in to comment.