diff --git a/pkgs/development/libraries/gmp/5.0.5.nix b/pkgs/development/libraries/gmp/5.0.5.nix index 3fb62585051..98ebe5fcc25 100644 --- a/pkgs/development/libraries/gmp/5.0.5.nix +++ b/pkgs/development/libraries/gmp/5.0.5.nix @@ -13,8 +13,10 @@ stdenv.mkDerivation rec { buildNativeInputs = [ m4 ]; configureFlags = - # Build a "fat binary", with routines for several sub-architectures (x86). - [ "--enable-fat" ] + # Build a "fat binary", with routines for several sub-architectures + # (x86), except on Solaris where some tests crash with "Memory fault". + # See , for instance. + (stdenv.lib.optional (!stdenv.isSunOS) "--enable-fat") ++ (if cxx then [ "--enable-cxx" ] else [ "--disable-cxx" ]); doCheck = true;