Author: viric
Date: Wed Sep 1 08:34:44 2010
New Revision: 23576
URL: https://svn.nixos.org/websvn/nix/?rev=23576&sc=1
Log:
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.
Modified:
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/x264/default.nix
Modified:
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/x264/default.nix
==============================================================================
--- nixpkgs/branches/stdenv-updates/pkgs/development/libraries/x264/default.nix
Wed Sep 1 08:34:34 2010 (r23575)
+++ nixpkgs/branches/stdenv-updates/pkgs/development/libraries/x264/default.nix
Wed Sep 1 08:34:44 2010 (r23576)
@@ -13,7 +13,8 @@
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 ];
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits