HomeFreeBSD

framework: reintroduce the feature enabling code

Description

framework: reintroduce the feature enabling code

For each feature (see in Mk/Features) users can now set these variables
in their make.conf. Using LTO as an example.

To enable globally:

WITH_LTO= yes

To disable globally (for example ssp is enabled by default):

WITHOUT_LTO=	yes

To enable for a specific list of ports:

WITH_LTO_PORTS= lang/perl5.36

To disable for a specific list of ports:

WITHOUT_LTO_PORTS= lang/perl5.36

Differential Revision: https://reviews.freebsd.org/D44750

Details

Provenance
matAuthored on Fri, Apr 12, 7:49 AM
Differential Revision
D44750: Try and make sense of the feature
Parents
R11:8522a7407ebd: lang/yap: fix build with clang 18
Branches
Unknown
Tags
Unknown