From 522b1c85e6cb164804af1bf49d933d2731ea4041 Mon Sep 17 00:00:00 2001 From: abs Date: Tue, 6 Jul 2004 23:00:10 +0000 Subject: 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 --- devel/cpuflags/files/cpuflags.NetBSD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'devel/cpuflags/files') 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 -- cgit v1.2.3