From e4c4ab35e5d219d2dfa6e36126db21ac99d39cad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Wed, 22 Feb 2012 11:37:10 +0000 Subject: [PATCH] I think I fixed atlas for i686. It wants '-b 32'. Why, I don't know. svn path=/nixpkgs/trunk/; revision=32471 --- pkgs/development/libraries/science/math/atlas/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/science/math/atlas/default.nix b/pkgs/development/libraries/science/math/atlas/default.nix index 1c5e0d9068e..8450519ce48 100644 --- a/pkgs/development/libraries/science/math/atlas/default.nix +++ b/pkgs/development/libraries/science/math/atlas/default.nix @@ -12,7 +12,8 @@ stdenv.mkDerivation { preConfigure = '' mkdir build; cd build; configureScript=../configure; ''; # the manual says you should pass -fPIC as configure arg .. It works - configureFlags = "-Fa alg -fPIC"; + configureFlags = "-Fa alg -fPIC" + + (if stdenv.isi686 then " -b 32" else ""); buildInputs = [ gfortran ];