summaryrefslogtreecommitdiff
path: root/pkg/machine/qemu
diff options
context:
space:
mode:
authorMaya Rashish <maya@NetBSD.org>2021-09-03 12:52:09 +0300
committerMaya Rashish <maya@NetBSD.org>2021-09-03 13:38:14 +0300
commit8d9e19b0355790b75e11756bd779a107a4ac29a7 (patch)
tree8ed017c7f674bfcf972049ee80f45a133e12c331 /pkg/machine/qemu
parent469900406ac51332785455bc8668bd1c053badd6 (diff)
downloadpodman-8d9e19b0355790b75e11756bd779a107a4ac29a7.tar.gz
podman-8d9e19b0355790b75e11756bd779a107a4ac29a7.tar.bz2
podman-8d9e19b0355790b75e11756bd779a107a4ac29a7.zip
Spell "build linux darwin" as "build !windows".
Equivalent for supported platforms, and makes it easier to support additional unix-like OSes. [NO TESTS NEEDED] Signed-off-by: Maya Rashish <maya@NetBSD.org>
Diffstat (limited to 'pkg/machine/qemu')
-rw-r--r--pkg/machine/qemu/config.go2
-rw-r--r--pkg/machine/qemu/machine.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/machine/qemu/config.go b/pkg/machine/qemu/config.go
index 013f28960..3d0fa4094 100644
--- a/pkg/machine/qemu/config.go
+++ b/pkg/machine/qemu/config.go
@@ -1,4 +1,4 @@
-// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
+// +build amd64,!windows arm64,!windows
package qemu
diff --git a/pkg/machine/qemu/machine.go b/pkg/machine/qemu/machine.go
index 38a16c3ef..625818da2 100644
--- a/pkg/machine/qemu/machine.go
+++ b/pkg/machine/qemu/machine.go
@@ -1,4 +1,4 @@
-// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
+// +build amd64,!windows arm64,!windows
package qemu