Skip to content

Commit 055fc82

Browse files
committed
Makefile: exclude seccomp build tag for !linux
Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent a8dd9bc commit 055fc82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ BUILDTAGS ?= \
5555
$(shell hack/btrfs_tag.sh) \
5656
$(shell hack/systemd_tag.sh) \
5757
$(shell hack/libsubid_tag.sh) \
58-
seccomp
58+
$(if $(filter linux,$(GOOS)), seccomp,)
5959
# allow downstreams to easily add build tags while keeping our defaults
6060
BUILDTAGS += ${EXTRA_BUILDTAGS}
6161
# N/B: This value is managed by Renovate, manual changes are

0 commit comments

Comments
 (0)