diff --git a/internal/config/seccomp/notifier.go b/internal/config/seccomp/notifier.go index e6b8a1c9c50..f1a0aaff02e 100644 --- a/internal/config/seccomp/notifier.go +++ b/internal/config/seccomp/notifier.go @@ -1,5 +1,5 @@ -//go:build linux && cgo -// +build linux,cgo +//go:build seccomp && linux && cgo +// +build seccomp,linux,cgo package seccomp diff --git a/internal/config/seccomp/seccomp.go b/internal/config/seccomp/seccomp.go index ed8f607d7b6..85ce5ae5047 100644 --- a/internal/config/seccomp/seccomp.go +++ b/internal/config/seccomp/seccomp.go @@ -1,5 +1,5 @@ -//go:build linux && cgo -// +build linux,cgo +//go:build seccomp && linux && cgo +// +build seccomp,linux,cgo package seccomp diff --git a/internal/config/seccomp/seccomp_unsupported.go b/internal/config/seccomp/seccomp_unsupported.go index 6f5e64768ab..7c6502c1ef7 100644 --- a/internal/config/seccomp/seccomp_unsupported.go +++ b/internal/config/seccomp/seccomp_unsupported.go @@ -1,5 +1,5 @@ -//go:build !(linux && cgo) -// +build !linux !cgo +//go:build !(seccomp && linux && cgo) +// +build !seccomp !linux !cgo package seccomp