libaom: disable runtime cpu detection on darwin (#112685)

CPU detection is only enabled for PPC and ARM. It's also not implemented
on Darwin, so no reason to keep it enabled there. This helps #105026.
This commit is contained in:
Ivan Babrou 2021-02-11 09:36:43 -08:00 committed by GitHub
parent 987955680f
commit aaf5c54afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,9 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DENABLE_TESTS=OFF"
] ++ lib.optionals stdenv.isDarwin [
# CPU detection isn't supported on Darwin and breaks the aarch64-darwin build:
"-DCONFIG_RUNTIME_CPU_DETECT=OFF"
];
postFixup = ''