Making lame compile with assembly optimization for i386
svn path=/nixpkgs/trunk/; revision=21620
This commit is contained in:
parent
96f2d289bc
commit
222e41519e
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl, nasm}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "lame-3.98.2";
|
name = "lame-3.98.2";
|
||||||
|
@ -7,6 +7,10 @@ stdenv.mkDerivation {
|
||||||
sha256 = "0cmgr515szd9kd19mpzvwl3cbnpfyjyi47swj4afblcfkmb2hym1";
|
sha256 = "0cmgr515szd9kd19mpzvwl3cbnpfyjyi47swj4afblcfkmb2hym1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ nasm ];
|
||||||
|
|
||||||
|
configureFlags = [ "--enable-nasm" ];
|
||||||
|
|
||||||
# Either disable static, or fix the rpath of 'lame' for it to point
|
# Either disable static, or fix the rpath of 'lame' for it to point
|
||||||
# properly to the libmp3lame shared object.
|
# properly to the libmp3lame shared object.
|
||||||
dontDisableStatic = true;
|
dontDisableStatic = true;
|
||||||
|
|
|
@ -7861,7 +7861,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
lame = import ../applications/audio/lame {
|
lame = import ../applications/audio/lame {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv nasm;
|
||||||
};
|
};
|
||||||
|
|
||||||
ladspaH = import ../applications/audio/ladspa-plugins/ladspah.nix {
|
ladspaH = import ../applications/audio/ladspa-plugins/ladspah.nix {
|
||||||
|
|
Loading…
Reference in New Issue