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:
parent
2ce218c434
commit
e4c4ab35e5
@ -12,7 +12,8 @@ stdenv.mkDerivation {
|
|||||||
preConfigure = '' mkdir build; cd build; configureScript=../configure; '';
|
preConfigure = '' mkdir build; cd build; configureScript=../configure; '';
|
||||||
|
|
||||||
# the manual says you should pass -fPIC as configure arg .. It works
|
# 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 ];
|
buildInputs = [ gfortran ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user