Trying to fix atlas i686. I set Pentium II and having sse/sse2 at the same time for i686...

I think Pentium II does not have sse.


svn path=/nixpkgs/trunk/; revision=33787
This commit is contained in:
Lluís Batlle i Rossell 2012-04-14 18:58:30 +00:00
parent 9b6e521d44
commit 60ecc500f9

View file

@ -29,9 +29,9 @@ stdenv.mkDerivation {
# -A 18 = Pentium II
# -V 192 = SSE1|SSE2 (Or it takes SSE3 somehow in my machine without SSE3)
# -t 0 = No threading
configureFlags = "-Fa alg -fPIC -t 0 -V 192"
configureFlags = "-t 0"
+ optionalString stdenv.isi686 " -b 32 -A 18"
+ optionalString stdenv.isx86_64 " -A 31"
+ optionalString stdenv.isx86_64 " -A 31 -V 192"
+ optionalString tolerateCpuTimingInaccuracy " -Si cputhrchk 0"
+ optionalString shared " --shared "
;