diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 06d259606661a451fe72187af10ff179ccdfa6d9..b6293c15ebcbb720f06b125068aae682273c6519 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -2311,7 +2311,8 @@ void setupSeccomp()
         seccomp_release(ctx);
     });
 
-    if (seccomp_arch_add(ctx, SCMP_ARCH_X86) != 0)
+    if (settings.thisSystem == "x86_64-linux" &&
+        seccomp_arch_add(ctx, SCMP_ARCH_X86) != 0)
         throw SysError("unable to add 32-bit seccomp architecture");
 
     for (int perm : { S_ISUID, S_ISGID }) {