make.conf.5: add CPUTYPE?= note from UPDATING

Cross-compilation needs CPUTYPE to be set with ?= to be overideable via
make targets. This has historically been mentioned in the FOOTNOTES of
UPDATING. Note that in the CPUTYPE documentation in make.conf(5) for
discoverability. Leave it in UPDATING for now to create no regression in
the doc there.

MFC after:		3 days
Reviewed by:		carlavilla, ivy
Approved by:		carlavilla (mentor)
Differential Revision:	https://reviews.freebsd.org/D50277
This commit is contained in:
Alexander Ziaee
2025-05-21 12:43:37 -04:00
parent 1a060e4f1b
commit bbc0b39ef7
+9
View File
@@ -158,6 +158,15 @@ and
.Va COPTFLAGS
to contain the appropriate optimization directive to
.Xr cc 1 .
To set the
.Va CPUTYPE
value, use
.Dq Li ?=
instead of
.Dq Li =
so that it can be overridden by
.Xr make 1
targets.
The automatic setting of
.Va CFLAGS
may be overridden using the