diff options
author | maho <maho@FreeBSD.org> | 2004-09-01 22:26:13 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2004-09-01 22:26:13 +0800 |
commit | 78a9dae7f500660bd8f45720f6380475bbf83f14 (patch) | |
tree | 813765e61dda0174c93dae8a1dac7ca77cb08693 /math | |
parent | 68c3cb71120554db2ce88f5e65d40a6703dbbbb4 (diff) | |
download | freebsd-ports-gnome-78a9dae7f500660bd8f45720f6380475bbf83f14.tar.gz freebsd-ports-gnome-78a9dae7f500660bd8f45720f6380475bbf83f14.tar.zst freebsd-ports-gnome-78a9dae7f500660bd8f45720f6380475bbf83f14.zip |
ad hoc fix for 5-STABLE, having CPU
other than Pentium4 (Opteron, Pentium III,
Athlon... etc) this was due to recent change
in make(1)
Diffstat (limited to 'math')
-rw-r--r-- | math/atlas-devel/files/patch-config.c | 8 | ||||
-rw-r--r-- | math/atlas/files/patch-config.c | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/math/atlas-devel/files/patch-config.c b/math/atlas-devel/files/patch-config.c index 57ccb7f1e1e7..455f38f38d0a 100644 --- a/math/atlas-devel/files/patch-config.c +++ b/math/atlas-devel/files/patch-config.c @@ -54,6 +54,14 @@ s1 = 0; s2 = 0; break; +@@ -2687,6 +2687,7 @@ + l1 = l2 = s1 = s2 = 0; + lf2 = 4096; + } ++ s1 = 0; // XXX always calculate L1 cache size + if (lvl == 1) + { + if (AmSure) *AmSure = s1; @@ -2799,7 +2803,7 @@ else if (strstr(ln, "ia64")) la = LAIA64; else if ( strstr(ln, "i686") || strstr(ln, "i586") || diff --git a/math/atlas/files/patch-config.c b/math/atlas/files/patch-config.c index 57ccb7f1e1e7..455f38f38d0a 100644 --- a/math/atlas/files/patch-config.c +++ b/math/atlas/files/patch-config.c @@ -54,6 +54,14 @@ s1 = 0; s2 = 0; break; +@@ -2687,6 +2687,7 @@ + l1 = l2 = s1 = s2 = 0; + lf2 = 4096; + } ++ s1 = 0; // XXX always calculate L1 cache size + if (lvl == 1) + { + if (AmSure) *AmSure = s1; @@ -2799,7 +2803,7 @@ else if (strstr(ln, "ia64")) la = LAIA64; else if ( strstr(ln, "i686") || strstr(ln, "i586") || |