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:
parent
987955680f
commit
aaf5c54afd
1 changed files with 3 additions and 0 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue