Skip to content

Commit

Permalink
libaom: fix cross
Browse files Browse the repository at this point in the history
Apparently the CMake variable for indicating the assembler has
changed from `AS_EXECUTABLE` to `CMAKE_ASM_COMPILER`.
  • Loading branch information
Adam Joseph committed Nov 8, 2023
1 parent 408ed81 commit 10bc6bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/libaom/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,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
Expand Down

0 comments on commit 10bc6bc

Please sign in to comment.