x264: unset AS

Commit 093cc00cdd sets the environment variable
`AS' to the binutils assembler, but x264 needs yasm.
This commit is contained in:
Thomas Tuegel 2017-07-21 07:40:23 -05:00
parent 631f6b3e11
commit 20321f66d7
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59

View file

@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
outputs = [ "out" "lib" ]; # leaving 52 kB of headers
preConfigure = ''
# `AS' is set to the binutils assembler, but we need yasm
unset AS
'';
configureFlags = [ "--enable-shared" ]
++ stdenv.lib.optional (!stdenv.isi686) "--enable-pic"
++ stdenv.lib.optional (enable10bit) "--bit-depth=10";