summaryrefslogtreecommitdiff
path: root/devel/cpuflags/files
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2004-07-06 23:00:10 +0000
committerabs <abs@pkgsrc.org>2004-07-06 23:00:10 +0000
commit522b1c85e6cb164804af1bf49d933d2731ea4041 (patch)
treed7abf88485eba1ba427b322ed130596da1aa1550 /devel/cpuflags/files
parentaff90872e968344b19d29b345211f3e8d3af5146 (diff)
downloadpkgsrc-522b1c85e6cb164804af1bf49d933d2731ea4041.tar.gz
Update cpuflags to 0.72:
Handle c3 as 'c3' or '586', not '686'. From Dick Davies Rationale: http://www3.sympatico.ca/howlettfamily/epia/epia_howto/x881.html#pentium_compatible
Diffstat (limited to 'devel/cpuflags/files')
-rwxr-xr-xdevel/cpuflags/files/cpuflags.NetBSD4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD
index 0fec1971fa0..475ed40d1aa 100755
--- a/devel/cpuflags/files/cpuflags.NetBSD
+++ b/devel/cpuflags/files/cpuflags.NetBSD
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: cpuflags.NetBSD,v 1.50 2004/06/09 20:51:11 cube Exp $
+# $NetBSD: cpuflags.NetBSD,v 1.51 2004/07/06 23:00:10 abs Exp $
if [ -x /sbin/sysctl ] ;then
SYSCTL=/sbin/sysctl
@@ -71,6 +71,7 @@ case $hw_machine_arch in
*Intel\ Pentium\ M\ *) FLAGS='-march=pentium3' ;;
*Intel\ Mobile\ Pentium\ 4\ *) FLAGS='-march=pentium4' ;;
*Intel\ Pentium\ 4\ *) FLAGS='-march=pentium4' ;;
+ *VIA\ C3*\ Samuel*) FLAGS='-march=c3' ;;
*AMD\ K6-III*) FLAGS='-march=k6-3' ;;
*AMD\ K6-2*) FLAGS='-march=k6-2' ;;
*AMD\ K6*) FLAGS='-march=k6' ;;
@@ -228,6 +229,7 @@ if [ -n "$FLAGS" ]; then
3.1:-mtune=r5000:-cpu=r5000
3.1:-mtune=r6000:-cpu=r6000
3.1:-mtune=r8000:-cpu=r8000
+3.3:-march=c3:-march=i586
EOD
`
fi