x264: fix on ARM

This commit is contained in:
worldofpeace 2020-01-30 06:52:21 -05:00
parent caf40c4d9c
commit 7c75c12886

View file

@ -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" ]