gmp: don't build fat binaries on Solaris
This commit is contained in:
parent
4184e580a9
commit
5debe94bb3
@ -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 New Issue
Block a user