mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
gmp: don't build fat binaries on Solaris
This commit is contained in:
parent
4184e580a9
commit
5debe94bb3
1 changed files with 4 additions and 2 deletions
|
@ -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 <http://hydra.nixos.org/build/2760931>, for instance.
|
||||
(stdenv.lib.optional (!stdenv.isSunOS) "--enable-fat")
|
||||
++ (if cxx then [ "--enable-cxx" ] else [ "--disable-cxx" ]);
|
||||
|
||||
doCheck = true;
|
||||
|
|
Loading…
Reference in a new issue