example COPTFLAGS

Jan Stary <[email protected]> Tue, 9 Jun 2026 12:21:21 +0200
Newsgroups gmane.os.freebsd.questions
Message-ID <[email protected]>
This is wht the exampla make.conf says about COPTFLAGS
on my freshly installed 15.0-RELEASE:

# 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= -O -pipe

But leaving everything at default apparently uses -O2 -pipe
for the kernel build? Is the comment out of date then?

	Jan