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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user