summaryrefslogtreecommitdiff
blob: 17a09b601369027f9bbea638f9c4a3210d81bd68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,11 @@
 	$(shell hack/systemd_tag.sh) \
 	$(shell hack/libsubid_tag.sh) \
 	exclude_graphdriver_devicemapper \
-	seccomp
+
+BUILD_SECCOMP ?= yes
+ifeq ($(BUILD_SECCOMP),yes)
+BUILDTAGS += seccomp
+endif
 # N/B: This value is managed by Renovate, manual changes are
 # possible, as long as they don't disturb the formatting
 # (i.e. DO NOT ADD A 'v' prefix!)