forked from mirrors/nixpkgs
Making the x264 libs build with PIC on non-i686, as it's the only platform I know that does not need PIC for shared libraries.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23576
This commit is contained in:
parent
517cc51331
commit
ccf8be72c6
|
@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
|
|||
sed -i s,/bin/bash,${stdenv.shell}, configure version.sh
|
||||
'';
|
||||
|
||||
configureFlags = [ "--enable-shared" ];
|
||||
configureFlags = [ "--enable-shared" ]
|
||||
++ stdenv.lib.optional (!stdenv.isi686) "--enable-pic";
|
||||
|
||||
buildInputs = [ yasm ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue