I think we better disable SIMD for i686. Or it can detect whatever the machine has.

svn path=/nixpkgs/trunk/; revision=33789
This commit is contained in:
Lluís Batlle i Rossell 2012-04-14 22:00:12 +00:00
parent 163c7375a3
commit 30d7a7fbe1

View File

@ -28,9 +28,10 @@ stdenv.mkDerivation {
# -A 31 = Athlon K7
# -A 18 = Pentium II
# -V 192 = SSE1|SSE2 (Or it takes SSE3 somehow in my machine without SSE3)
# -V 0 = No SIMD (Pentium II does not have any SSE)
# -t 0 = No threading
configureFlags = "-t 0"
+ optionalString stdenv.isi686 " -b 32 -A 18"
+ optionalString stdenv.isi686 " -b 32 -A 18 -V 0"
+ optionalString stdenv.isx86_64 " -A 31 -V 192"
+ optionalString tolerateCpuTimingInaccuracy " -Si cputhrchk 0"
+ optionalString shared " --shared "