x264: unset AS
Commit 093cc00cdd sets the environment variable
`AS' to the binutils assembler, but x264 needs yasm.
This commit is contained in:
@@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "lib" ]; # leaving 52 kB of headers
|
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" ]
|
configureFlags = [ "--enable-shared" ]
|
||||||
++ stdenv.lib.optional (!stdenv.isi686) "--enable-pic"
|
++ stdenv.lib.optional (!stdenv.isi686) "--enable-pic"
|
||||||
++ stdenv.lib.optional (enable10bit) "--bit-depth=10";
|
++ stdenv.lib.optional (enable10bit) "--bit-depth=10";
|
||||||
|
|||||||
Reference in New Issue
Block a user