x264: fix on ARM
This commit is contained in:
parent
caf40c4d9c
commit
7c75c12886
@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
|
||||
preConfigure = lib.optionalString (stdenv.buildPlatform.isx86_64 || stdenv.hostPlatform.isi686) ''
|
||||
# `AS' is set to the binutils assembler, but we need nasm
|
||||
unset AS
|
||||
'' + lib.optionalString (stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isAarch32) ''
|
||||
export AS=$CC
|
||||
'';
|
||||
|
||||
configureFlags = [ "--enable-shared" ]
|
||||
|
Loading…
Reference in New Issue
Block a user