systemd: disable bpf on powerpc64le
This commit is contained in:
parent
fee38e7343
commit
2b76501a4b
1 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,8 @@
|
|||
, 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
|
||||
# can't find gnu/stubs-32.h
|
||||
&& (stdenv.hostPlatform.isPower64 -> stdenv.hostPlatform.isBigEndian)
|
||||
# buildPackages.targetPackages.llvmPackages is the same as llvmPackages,
|
||||
# but we do it this way to avoid taking llvmPackages as an input, and
|
||||
# risking making it too easy to ignore the above comment about llvmPackages.
|
||||
|
|
Loading…
Reference in a new issue