diff options
author | Ivan Babrou <github@ivan.computer> | 2021-02-11 09:36:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-11 18:36:43 +0100 |
commit | aaf5c54afd4ba60a5717d637181617c729f997cd (patch) | |
tree | 254159f9886b12f9050a1320db492c077c38705c /pkgs/development/libraries/libaom | |
parent | 987955680f3063126c96961d4e1f68cb00f3ad57 (diff) | |
download | nixpkgs-aaf5c54afd4ba60a5717d637181617c729f997cd.tar nixpkgs-aaf5c54afd4ba60a5717d637181617c729f997cd.tar.gz nixpkgs-aaf5c54afd4ba60a5717d637181617c729f997cd.tar.bz2 nixpkgs-aaf5c54afd4ba60a5717d637181617c729f997cd.tar.lz nixpkgs-aaf5c54afd4ba60a5717d637181617c729f997cd.tar.xz nixpkgs-aaf5c54afd4ba60a5717d637181617c729f997cd.tar.zst nixpkgs-aaf5c54afd4ba60a5717d637181617c729f997cd.zip |
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.
Diffstat (limited to 'pkgs/development/libraries/libaom')
-rw-r--r-- | pkgs/development/libraries/libaom/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libaom/default.nix b/pkgs/development/libraries/libaom/default.nix index 9706cda03f8..0522cdf2d50 100644 --- a/pkgs/development/libraries/libaom/default.nix +++ b/pkgs/development/libraries/libaom/default.nix @@ -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 = '' |