mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
libaom: fix cross
Apparently the CMake variable for indicating the assembler has changed from `AS_EXECUTABLE` to `CMAKE_ASM_COMPILER`.
This commit is contained in:
parent
408ed815c6
commit
10bc6bce5a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user