diff options
author | Lluis Batlle <viriketo@gmail.com> | 2012-11-15 11:18:38 +0100 |
---|---|---|
committer | Lluis Batlle <viriketo@gmail.com> | 2012-11-15 12:38:18 +0100 |
commit | d2d761b692e3ab08b2ad864cf1fd0e4b0f93917c (patch) | |
tree | c6f2a6aded7d3351fb47d9a7c1fed271eba8ea5a /pkgs/development/libraries/pth/default.nix | |
parent | 086e1e84fa860a5935024e83d184035575cd5d8c (diff) | |
download | nixpkgs-d2d761b692e3ab08b2ad864cf1fd0e4b0f93917c.tar nixpkgs-d2d761b692e3ab08b2ad864cf1fd0e4b0f93917c.tar.gz nixpkgs-d2d761b692e3ab08b2ad864cf1fd0e4b0f93917c.tar.bz2 nixpkgs-d2d761b692e3ab08b2ad864cf1fd0e4b0f93917c.tar.lz nixpkgs-d2d761b692e3ab08b2ad864cf1fd0e4b0f93917c.tar.xz nixpkgs-d2d761b692e3ab08b2ad864cf1fd0e4b0f93917c.tar.zst nixpkgs-d2d761b692e3ab08b2ad864cf1fd0e4b0f93917c.zip |
gpg/pth: fixing the pth building on arm
I could built pth with the fix commented in: http://forums.gentoo.org/viewtopic-t-904280-start-0.html And I remove the 'pth.supported' structure I had built.
Diffstat (limited to 'pkgs/development/libraries/pth/default.nix')
-rw-r--r-- | pkgs/development/libraries/pth/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/pth/default.nix b/pkgs/development/libraries/pth/default.nix index cd20af5bb07..b7b09caed9b 100644 --- a/pkgs/development/libraries/pth/default.nix +++ b/pkgs/development/libraries/pth/default.nix @@ -8,9 +8,9 @@ stdenv.mkDerivation rec { sha256 = "0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj"; }; - passthru = { - supported = ! stdenv.isArm; - }; + preConfigure = stdenv.lib.optionalString stdenv.isArm '' + configureFlagsArray=("CFLAGS=-DJB_SP=8 -DJB_PC=9") + ''; meta = { description = "The GNU Portable Threads library"; |