1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

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:
Lluís Batlle i Rossell 2010-09-01 08:34:44 +00:00
parent 517cc51331
commit ccf8be72c6

View file

@ -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 ];