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 ];
|
buildNativeInputs = [ m4 ];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
# Build a "fat binary", with routines for several sub-architectures (x86).
|
# Build a "fat binary", with routines for several sub-architectures
|
||||||
[ "--enable-fat" ]
|
# (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" ]);
|
++ (if cxx then [ "--enable-cxx" ] else [ "--disable-cxx" ]);
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user