gmp: disable stripping when cross-compiling

This commit is contained in:
Ludovic Courtès 2013-03-06 15:19:53 +01:00
parent 1fdd780e2c
commit 653ad8ec2f

View file

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