summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2008-10-14 13:35:25 +0000
committerMarc Weber <marco-oweber@gmx.de>2008-10-14 13:35:25 +0000
commit9fc09fd4bbd639111e0541df272be84da70954b7 (patch)
treecd1f23c3d6149e5eed238f4ded4e462f97b6d83d /pkgs
parent064d1af52b05cd9bba0af957edffc281bc8f1c50 (diff)
downloadnixpkgs-9fc09fd4bbd639111e0541df272be84da70954b7.tar
nixpkgs-9fc09fd4bbd639111e0541df272be84da70954b7.tar.gz
nixpkgs-9fc09fd4bbd639111e0541df272be84da70954b7.tar.bz2
nixpkgs-9fc09fd4bbd639111e0541df272be84da70954b7.tar.lz
nixpkgs-9fc09fd4bbd639111e0541df272be84da70954b7.tar.xz
nixpkgs-9fc09fd4bbd639111e0541df272be84da70954b7.tar.zst
nixpkgs-9fc09fd4bbd639111e0541df272be84da70954b7.zip
fix x264 for x64 systems (-fPIC)
svn path=/nixpkgs/trunk/; revision=13063
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/x264/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/x264/default.nix b/pkgs/development/libraries/x264/default.nix
index 9b8cee26868..636a5081c5f 100644
--- a/pkgs/development/libraries/x264/default.nix
+++ b/pkgs/development/libraries/x264/default.nix
@@ -8,6 +8,8 @@ args.stdenv.mkDerivation rec {
     sha256 = "07khxih1lmhvrzlaksqmaghbi8w2yyjrjcw867gi2y4z1h0ndhks";
   };
 
+  configureFlags= if args.stdenv.system == "x86_64-linux" then ["--enable-pic"] else [];
+
   buildInputs =(with args; []);
 
   meta = {