Subject: Re: Using build.sh, a question (OT)
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Frederick Bruckman <firstname.lastname@example.org>
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 build.sh?
> > 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 "build.sh install=/" or "build.sh distribution sets".
If you put
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 bsd.own.mk and /etc/mk.conf.