mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
systemd: disable BPF for ARMv5
ARMv5 does not have hardware floating point, so can't build systemd's BPF code.
This commit is contained in:
parent
aa51704ba5
commit
0da24fa3ba
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@
|
|||
, withHwdb ? true
|
||||
, withImportd ? !stdenv.hostPlatform.isMusl
|
||||
, withLibBPF ? lib.versionAtLeast buildPackages.llvmPackages.clang.version "10.0"
|
||||
&& stdenv.hostPlatform.isAarch -> lib.versionAtLeast stdenv.hostPlatform.parsed.cpu.version "6" # assumes hard floats
|
||||
&& !stdenv.hostPlatform.isMips64 # see https://github.com/NixOS/nixpkgs/pull/194149#issuecomment-1266642211
|
||||
, withLocaled ? true
|
||||
, withLogind ? true
|
||||
|
|
Loading…
Reference in a new issue