Commit e4c4ab35 authored by Lluís Batlle i Rossell's avatar Lluís Batlle i Rossell
Browse files

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


svn path=/nixpkgs/trunk/; revision=32471
parent 2ce218c4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 ];