I think I fixed atlas for i686. It wants '-b 32'. Why, I don't know.

svn path=/nixpkgs/trunk/; revision=32471
This commit is contained in:
Lluís Batlle i Rossell 2012-02-22 11:37:10 +00:00
parent 2ce218c434
commit e4c4ab35e5

View File

@ -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 ];