From 6b285a97dbe334f03a4967f3d83d0bc13cbc0606 Mon Sep 17 00:00:00 2001 From: salo Date: Tue, 3 Jun 2003 10:17:48 +0000 Subject: Version 0.43: - match more Athlons XXX: This really should be more fine-grained. - whitespace --- devel/cpuflags/Makefile | 15 +++++++-------- devel/cpuflags/files/cpuflags.NetBSD | 6 +++--- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index 865e84ccbeb..0f9897e66bc 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,14 +1,13 @@ -# $NetBSD: Makefile,v 1.44 2003/05/29 11:45:50 abs Exp $ +# $NetBSD: Makefile,v 1.45 2003/06/03 10:17:48 salo Exp $ # -DISTNAME= cpuflags-0.42 -WRKSRC= ${WRKDIR} -CATEGORIES= sysutils -MASTER_SITES= # empty -DISTFILES= # empty +DISTNAME= cpuflags-0.43 +CATEGORIES= sysutils +MASTER_SITES= # empty +DISTFILES= # empty -MAINTAINER= abs@netbsd.org -COMMENT= Determine compiler flags to best target current cpu +MAINTAINER= abs@netbsd.org +COMMENT= Determine compiler flags to best target current cpu ONLY_FOR_PLATFORM= NetBSD-*-* Linux-*-* SunOS-*-* diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD index ff14801426d..78f353efc34 100755 --- a/devel/cpuflags/files/cpuflags.NetBSD +++ b/devel/cpuflags/files/cpuflags.NetBSD @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.NetBSD,v 1.35 2003/05/29 11:45:50 abs Exp $ +# $NetBSD: cpuflags.NetBSD,v 1.36 2003/06/03 10:17:48 salo Exp $ if [ -x /sbin/sysctl ] ;then SYSCTL=/sbin/sysctl @@ -60,12 +60,12 @@ case $hw_machine_arch in i386) case $hw_model in *Intel\ Pentium\ II\ *) FLAGS='-march=pentium2' ;; - *Intel\ Pentium\ III\ *) FLAGS='-march=pentium3' ;; + *Intel\ Pentium\ III\ *) FLAGS='-march=pentium3' ;; *Intel\ Pentium\ 4\ *) FLAGS='-march=pentium4' ;; *AMD\ K6-III*) FLAGS='-march=k6-3' ;; *AMD\ K6-2*) FLAGS='-march=k6-2' ;; *AMD\ K6*) FLAGS='-march=k6' ;; - *AMD\ K7*) FLAGS='-march=athlon' ;; + *AMD\ K7*|*AMD\ Athlon*) FLAGS='-march=athlon' ;; *386-class*) FLAGS='-march=i386' ;; *486-class*) FLAGS='-march=i486' ;; *586-class*) FLAGS='-march=pentium' ;; -- cgit v1.2.3