Author: ludo
Date: Fri Sep  9 20:10:55 2011
New Revision: 29144
URL: https://ssl.nixos.org/websvn/nix/?rev=29144&sc=1

Log:
gmp 4.3.2: Use `configfsf.guess' to work around `--enable-fat' build failure.

Modified:
   hydra-config/gnu/trunk/gmp/4.3.2.nix

Modified: hydra-config/gnu/trunk/gmp/4.3.2.nix
==============================================================================
--- hydra-config/gnu/trunk/gmp/4.3.2.nix        Fri Sep  9 19:57:44 2011        
(r29143)
+++ hydra-config/gnu/trunk/gmp/4.3.2.nix        Fri Sep  9 20:10:55 2011        
(r29144)
@@ -10,10 +10,13 @@
 
   buildNativeInputs = [m4];
 
-  configureFlags = (if cxx then [ "--enable-cxx" ] else [ "--disable-cxx" ])
-    ++ (stdenv.lib.optional (stdenv.system != "i686-darwin")
-          [ "--enable-fat" ]);
+  # Even though this isn't recommended, we use this hack because
+  # `--enable-fat' fails to build.
+  preConfigure = "rm -fv config.guess && ln -sv configfsf.guess config.guess";
 
+  configureFlags = (if cxx then [ "--enable-cxx" ] else [ "--disable-cxx" ]);
+
+  enableParallelBuilding = true;
   doCheck = true;
 
   meta = {
_______________________________________________
nix-commits mailing list
nix-comm...@cs.uu.nl
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to