mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 12:23:55 +00:00
Merge pull request #233466 from alyssais/x264-cross
x264: fix cross compilation to x86_64
This commit is contained in:
commit
e9caabc335
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "lib" "dev" ];
|
||||
|
||||
preConfigure = lib.optionalString (stdenv.buildPlatform.isx86_64 || stdenv.hostPlatform.isi686) ''
|
||||
preConfigure = lib.optionalString stdenv.hostPlatform.isx86 ''
|
||||
# `AS' is set to the binutils assembler, but we need nasm
|
||||
unset AS
|
||||
'' + lib.optionalString stdenv.hostPlatform.isAarch ''
|
||||
|
Loading…
Reference in New Issue
Block a user