You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to freebsd-...@freebsd.org
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
Dag-Erling Smørgrav
unread,
Jun 9, 2026, 7:10:16 AMJun 9
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jan Stary, freebsd-...@freebsd.org
The example is outdated.
COPTFLAGS is used for the kernel. Everything else, including kernel
modules, uses CFLAGS.