diff options
Diffstat (limited to 'devel/cpuflags/files')
-rw-r--r-- | devel/cpuflags/files/cpuflags.1 | 9 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.NetBSD | 7 |
2 files changed, 12 insertions, 4 deletions
diff --git a/devel/cpuflags/files/cpuflags.1 b/devel/cpuflags/files/cpuflags.1 index e93faa85b3e..e5a9f0bda41 100644 --- a/devel/cpuflags/files/cpuflags.1 +++ b/devel/cpuflags/files/cpuflags.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: cpuflags.1,v 1.8 2002/07/16 10:42:45 abs Exp $ +.\" $NetBSD: cpuflags.1,v 1.9 2002/10/17 11:36:44 abs Exp $ .Dd May 31, 2001 .Dt CPUFLAGS 1 .Os @@ -45,6 +45,13 @@ kernel or userland by adding the following to /etc/mk.conf. .Bd -literal -offset indent .sinclude "/usr/pkg/share/mk/cpuflags.mk" .Ed +.Pp +On all except low memory machines compliation can be speeded up by adding the +following to /etc/mk.conf. (Note this will not affect the binaries produced) +.Bd -literal -offset indent +COPTS+=-pipe +CFLAGS+=-pipe +.Ed .Sh BUGS .Nm still needs to learn about more cpu types - updates welcomed diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD index 40e55586d04..febed27a12e 100755 --- a/devel/cpuflags/files/cpuflags.NetBSD +++ b/devel/cpuflags/files/cpuflags.NetBSD @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.NetBSD,v 1.28 2002/09/25 15:14:04 abs Exp $ +# $NetBSD: cpuflags.NetBSD,v 1.29 2002/10/17 11:36:44 abs Exp $ if [ -x /sbin/sysctl ] ;then SYSCTL=/sbin/sysctl @@ -93,9 +93,10 @@ case $hw_machine_arch in 603ev\ *) FLAGS='-mcpu=603e' ;; # PM 4400 604\ *) FLAGS='-mcpu=604' ;; # Mac 8500 604ev\ *) FLAGS='-mcpu=604e' ;; # upgr B&W G3 + 7450\ *) FLAGS='-mcpu=740' ;; # tibook 550 750\ *) FLAGS='-mcpu=750' ;; # Untested - 740\ *) FLAGS='-mcpu=750' ;; # Untested - 620\ *) FLAGS='-mcpu=750' ;; # Untested + 740\ *) FLAGS='-mcpu=740' ;; # Untested + 620\ *) FLAGS='-mcpu=620' ;; # Untested esac ;; sparc | sparc64) case $hw_model in # Examples |