summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-03-06 15:19:53 +0100
committerLudovic Courtès <ludo@gnu.org>2013-03-06 15:20:06 +0100
commit653ad8ec2f190480baf62813bb1d558c8cd5cc63 (patch)
tree23229e5c46412a6aa08993b3d6b1f1f8229f3d40 /pkgs/development
parent1fdd780e2c833ffb513aaee639d2105069d8590d (diff)
downloadnixlib-653ad8ec2f190480baf62813bb1d558c8cd5cc63.tar
nixlib-653ad8ec2f190480baf62813bb1d558c8cd5cc63.tar.gz
nixlib-653ad8ec2f190480baf62813bb1d558c8cd5cc63.tar.bz2
nixlib-653ad8ec2f190480baf62813bb1d558c8cd5cc63.tar.lz
nixlib-653ad8ec2f190480baf62813bb1d558c8cd5cc63.tar.xz
nixlib-653ad8ec2f190480baf62813bb1d558c8cd5cc63.tar.zst
nixlib-653ad8ec2f190480baf62813bb1d558c8cd5cc63.zip
gmp: disable stripping when cross-compiling
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/gmp/5.0.5.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gmp/5.0.5.nix b/pkgs/development/libraries/gmp/5.0.5.nix
index 98ebe5fcc256..c1cc36105ad2 100644
--- a/pkgs/development/libraries/gmp/5.0.5.nix
+++ b/pkgs/development/libraries/gmp/5.0.5.nix
@@ -23,6 +23,13 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
+  crossAttrs = {
+    # Disable stripping to avoid "libgmp.a: Archive has no index"
+    # (see <http://hydra.nixos.org/build/4268666>.)
+    dontStrip = true;
+    dontCrossStrip = true;
+  };
+
   meta = {
     description = "GMP, the GNU multiple precision arithmetic library";