From b7066a57deb8bb3f13ab7f2ef5e389c0559edac0 Mon Sep 17 00:00:00 2001 From: Kranium Gikos Mendoza Date: Fri, 27 Aug 2021 20:09:15 +1000 Subject: [PATCH] libaom: disable NEON on armv7l --- pkgs/development/libraries/libaom/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/libaom/default.nix b/pkgs/development/libraries/libaom/default.nix index 4a78f3c5e51d..3ee5f3749165 100644 --- a/pkgs/development/libraries/libaom/default.nix +++ b/pkgs/development/libraries/libaom/default.nix @@ -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 = ''