HomeFreeBSD

framework: generalize WITH_ code

Description

framework: generalize WITH_ code

Make the definition of WITH_ variable (end user actionable) a define
via a generic code
Move the WITH_DEBUG code into its own file Features/debug.mk
Replace USE_LTO into WITH_LTO and move it into Features/lto.mk
Move WITH_SSP into its own Features/ssp.mk

Add a variable to defined which one are activated by default (here SSP)

Reviewed by: portmgr (tcberner)
Differential Revision: https://reviews.freebsd.org/D35873

Details

Provenance
baptAuthored on Jul 21 2022, 9:56 AM
Differential Revision
D35873: framework: generalize WITH_ code
Parents
R11:5f87249229d3: x11-servers/xwayland: update to 22.1.2
Branches
Unknown
Tags
Unknown