From 3fffa1e2221c63c02dfe3e644b7a53a618785a21 Mon Sep 17 00:00:00 2001 From: abs Date: Sat, 20 Dec 2008 09:56:46 +0000 Subject: Updated devel/cpuflags to 1.27 Add entry for AMD K6-2+/III+ ("AMD-K6(tm)-III Processor") - from Ulf Bartelt PR 37850 --- devel/cpuflags/Makefile | 4 ++-- devel/cpuflags/files/subr_x86 | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'devel') diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index 0add568bae3..760ba5fd94d 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.132 2008/12/18 01:01:33 abs Exp $ +# $NetBSD: Makefile,v 1.133 2008/12/20 09:56:46 abs Exp $ -DISTNAME= cpuflags-1.26 +DISTNAME= cpuflags-1.27 CATEGORIES= devel sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/cpuflags/files/subr_x86 b/devel/cpuflags/files/subr_x86 index 298f2315826..557fb355740 100644 --- a/devel/cpuflags/files/subr_x86 +++ b/devel/cpuflags/files/subr_x86 @@ -1,4 +1,4 @@ -# $NetBSD: subr_x86,v 1.4 2008/12/18 00:57:12 abs Exp $ +# $NetBSD: subr_x86,v 1.5 2008/12/20 09:56:46 abs Exp $ # Apparently the only way to reliably determine the architecture of a recent # Intel CPU is to use the cpu brand string - as they reused family and @@ -6,6 +6,7 @@ map_x86_brand_string() { case "$1" in + "AMD-K6(tm)-III Processor"*) echo '-march=k6-3' ;; "Genuine Intel(R) CPU T2400"*) echo '-march=core2' ;; "Intel(R) Celeron(R) CPU E1400"*) echo '-march=core2' ;; "Intel(R) Celeron(R) CPU 2.40GHz") echo '-march=pentium4' ;; -- cgit v1.2.3