Subject: Re: Using, a question (OT)
To: Lubomir Sedlacik <>
From: Frederick Bruckman <>
List: current-users
Date: 05/22/2003 14:08:10
On Thu, 22 May 2003, Lubomir Sedlacik wrote:

> On Thu, May 22, 2003 at 07:49:55PM +0100, Dunc wrote:
> >
> > is it possible to set some extra CFLAGS when using
> >
> > i'd like to try and compile netbsd/sparc with the -mv8 flag for
> > supersparc optimisation
> see pkgsrc/devel/cpuflags and it's manual page.
> caveats: you would most likely fail to build release with such
> optimisations, installation kernels with ramdisks won't fit on the
> floppies due to bigger size of the optimized binaries.  you can build to
> DESTDIR and use " install=/" or " distribution sets".

If you put

COPTS?= -mv8

in "/etc/mk.conf", it will affect the GENERIC kernels and the
executables, but not any kernels which set COPTS in their
configuration files (such as INSTALL), as COPTS will then be set in
the kernel Makefile before pulling in and /etc/mk.conf.