@ -27,12 +27,13 @@ let self = stdenv.mkDerivation rec {
# See <http://hydra.nixos.org/build/2760931>, for instance.
#
# no darwin because gmp uses ASM that clang doesn't like
optional ( ! stdenv . isSunOS ) " - - e n a b l e - f a t "
optional ( ! stdenv . isSunOS && stdenv . hostPlatform . isx86 ) " - - e n a b l e - f a t "
++ ( if cxx then [ " - - e n a b l e - c x x " ]
else [ " - - d i s a b l e - c x x " ] )
++ optional ( cxx && stdenv . isDarwin ) " C P P F L A G S = - f e x c e p t i o n s "
++ optional stdenv . isDarwin " A B I = 6 4 "
++ optional ( stdenv . isDarwin && stdenv . is64bit ) " A B I = 6 4 "
++ optional stdenv . is64bit " - - w i t h - p i c "
++ optional ( with stdenv . hostPlatform ; useAndroidPrebuilt || useiOSPrebuilt ) " - - d i s a b l e - a s s e m b l y "
;
# The config.guess in GMP tries to runtime-detect various
@ -75,7 +76,6 @@ let self = stdenv.mkDerivation rec {
asymptotically faster algorithms .
'' ;
broken = with stdenv . hostPlatform ; useAndroidPrebuilt || useiOSPrebuilt ;
platforms = platforms . all ;
maintainers = [ maintainers . peti maintainers . vrthra ] ;
} ;