mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
libaom: disable NEON on armv7l
This commit is contained in:
parent
6ef4f522d6
commit
b7066a57de
@ -35,6 +35,10 @@ stdenv.mkDerivation rec {
|
||||
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
|
||||
# CPU detection isn't supported on Darwin and breaks the aarch64-darwin build:
|
||||
"-DCONFIG_RUNTIME_CPU_DETECT=0"
|
||||
] ++ lib.optionals stdenv.isAarch32 [
|
||||
# armv7l-hf-multiplatform does not support NEON
|
||||
# see lib/systems/platform.nix
|
||||
"-DENABLE_NEON=0"
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
|
Loading…
Reference in New Issue
Block a user