Merge pull request #266257 from amjoseph-nixpkgs/pr/libaom/fixcross

This commit is contained in:
Artturi
2023-11-19 02:22:10 +02:00
committed by GitHub
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
# CPU detection isn't supported on Darwin and breaks the aarch64-darwin build:
"-DCONFIG_RUNTIME_CPU_DETECT=0"
] ++ lib.optionals (isCross && !stdenv.hostPlatform.isx86) [
"-DAS_EXECUTABLE=${stdenv.cc.targetPrefix}as"
"-DCMAKE_ASM_COMPILER=${stdenv.cc.targetPrefix}as"
] ++ lib.optionals stdenv.isAarch32 [
# armv7l-hf-multiplatform does not support NEON
# see lib/systems/platform.nix