executor: don't build gen.go on OpenBSD or NetBSD

Use (NOT openbsd) AND (NOT netbsd) instead of (NOT openbsd) OR (NOT netbsd).
This commit is contained in:
Michael Tuexen 2020-05-13 21:07:11 +02:00 committed by Dmitry Vyukov
parent 50749f54cd
commit d9fecf2516

View File

@ -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"