diff options
author | rh <rh> | 2003-10-19 00:24:28 +0000 |
---|---|---|
committer | rh <rh> | 2003-10-19 00:24:28 +0000 |
commit | df6b23b019db9d4297ab8c06fa7a65013f687b61 (patch) | |
tree | c54caefb0868fd3ff1c8d83c6008a4a3036bd9c0 /devel/cpuflags/files/cpuflags.NetBSD | |
parent | eca8d3a7a78dd694023e084138b09b8f858fd0d0 (diff) | |
download | pkgsrc-df6b23b019db9d4297ab8c06fa7a65013f687b61.tar.gz |
Fix an Athlon detection glitch: the "Athlon Model 1" is neither an
"Athlon MP" nor a "Pentium Pro". Correct this by testing for the special
cases first rather than trying to be clever in the generic test.
Bump package version to 0.58
Diffstat (limited to 'devel/cpuflags/files/cpuflags.NetBSD')
-rwxr-xr-x | devel/cpuflags/files/cpuflags.NetBSD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD index 248df1f38ab..162cba2d021 100755 --- a/devel/cpuflags/files/cpuflags.NetBSD +++ b/devel/cpuflags/files/cpuflags.NetBSD @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.NetBSD,v 1.42 2003/10/02 16:10:00 abs Exp $ +# $NetBSD: cpuflags.NetBSD,v 1.43 2003/10/19 00:24:28 rh Exp $ if [ -x /sbin/sysctl ] ;then SYSCTL=/sbin/sysctl @@ -66,10 +66,10 @@ case $hw_machine_arch in *AMD\ K6-2*) FLAGS='-march=k6-2' ;; *AMD\ K6*) FLAGS='-march=k6' ;; *AMD\ Duron*) FLAGS='-march=athlon' ;; - *AMD\ K7*|*AMD\ Athlon*^[4XM]*) FLAGS='-march=athlon' ;; *AMD\ Athlon\ 4*) FLAGS='-march=athlon-4' ;; *AMD\ Athlon\ MP*) FLAGS='-march=athlon-mp' ;; *AMD\ Athlon\ XP*) FLAGS='-march=athlon-xp' ;; + *AMD\ K7*|*AMD\ Athlon*) FLAGS='-march=athlon' ;; *386-class*) FLAGS='-march=i386' ;; *486-class*) FLAGS='-march=i486' ;; *586-class*) FLAGS='-march=pentium' ;; |