linux-hardened: condition LEGACY_VSYSCALL_NONE on x86

This commit is contained in:
K900
2025-01-12 11:55:35 +03:00
parent e930b19aca
commit 2248ca09a4
@@ -109,5 +109,5 @@ assert (lib.versionAtLeast version "4.9");
IOMMU_DEFAULT_DMA_LAZY = option no;
# not needed for less than a decade old glibc versions
LEGACY_VSYSCALL_NONE = yes;
LEGACY_VSYSCALL_NONE = lib.mkIf stdenv.hostPlatform.isx86 yes;
}