Making lame compile with assembly optimization for i386

svn path=/nixpkgs/trunk/; revision=21620
This commit is contained in:
Lluís Batlle i Rossell 2010-05-05 20:38:13 +00:00
parent 96f2d289bc
commit 222e41519e
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl}:
{stdenv, fetchurl, nasm}:
stdenv.mkDerivation {
name = "lame-3.98.2";
@ -7,6 +7,10 @@ stdenv.mkDerivation {
sha256 = "0cmgr515szd9kd19mpzvwl3cbnpfyjyi47swj4afblcfkmb2hym1";
};
buildInputs = [ nasm ];
configureFlags = [ "--enable-nasm" ];
# Either disable static, or fix the rpath of 'lame' for it to point
# properly to the libmp3lame shared object.
dontDisableStatic = true;

View File

@ -7861,7 +7861,7 @@ let
};
lame = import ../applications/audio/lame {
inherit fetchurl stdenv;
inherit fetchurl stdenv nasm;
};
ladspaH = import ../applications/audio/ladspa-plugins/ladspah.nix {