Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2026 12:21:21 +0200
From:      Jan Stary <hans@stare.cz>
To:        freebsd-questions@freebsd.org
Subject:   example COPTFLAGS
Message-ID:  <aifpIeueRhpNesTY@www.stare.cz>

index | next in thread | raw e-mail

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



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aifpIeueRhpNesTY>