COPTFLAGS (not?) only for compiling the kernel?

Kris Kennaway kris at obsecurity.org
Thu May 13 15:48:59 PDT 2004


On Thu, May 13, 2004 at 11:29:07PM +0200, platanthera wrote:
> [/etc/make.conf]
> ...
> # To compile just the kernel with special optimizations, you should use
> # this instead of CFLAGS (which is not applicable to kernel builds anyway).
> # There is very little to gain by using higher optimization levels, and doing
> # so can cause problems.
> #
> COPTFLAGS= [whatever]
> ...
> 
> just the kernel... sounds like COPTFLAGS setting should not effect world or 
> port builds, but apparently it does.

It shouldn't, CFLAGS is used for that.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040513/dfa35a42/attachment.bin


More information about the freebsd-questions mailing list