libaom: disable NEON on armv7l

(cherry picked from commit b7066a57deb8bb3f13ab7f2ef5e389c0559edac0)
This commit is contained in:
Kranium Gikos Mendoza 2021-08-27 20:09:15 +10:00 committed by github-actions[bot]
parent fd8a7fd07d
commit 2fea3122d4
1 changed files with 4 additions and 0 deletions

View File

@ -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 = ''