aboutsummaryrefslogtreecommitdiffstats
path: root/executor/gen.go
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@fh-muenster.de>2020-05-13 21:07:11 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-05-13 21:50:15 +0200
commitd9fecf2516aa69f3697006c200080aff8d3c08c5 (patch)
tree46e334e9893814243c7518c1c53bdabf5c892c41 /executor/gen.go
parent50749f54cde9f63ddd99e65a6a2d45f89f237019 (diff)
executor: don't build gen.go on OpenBSD or NetBSD
Use (NOT openbsd) AND (NOT netbsd) instead of (NOT openbsd) OR (NOT netbsd).
Diffstat (limited to 'executor/gen.go')
-rw-r--r--executor/gen.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/gen.go b/executor/gen.go
index 60bb5a59d..3c0cef93b 100644
--- a/executor/gen.go
+++ b/executor/gen.go
@@ -1,7 +1,7 @@
// Copyright 2017 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-// +build !openbsd !netbsd
+// +build !openbsd,!netbsd
//go:generate bash -c "gcc kvm_gen.cc kvm.S -o kvm_gen && ./kvm_gen > kvm.S.h && rm ./kvm_gen"