The branch main has been updated by olce:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=d67f1132f0181af3ca6502c562e7fb00ad4deecd

commit d67f1132f0181af3ca6502c562e7fb00ad4deecd
Author:     Olivier Certner <o...@freebsd.org>
AuthorDate: 2025-05-27 09:31:15 +0000
Commit:     Olivier Certner <o...@freebsd.org>
CommitDate: 2025-05-27 09:31:15 +0000

    Revert commit e89d737041d1 (config.5: Document CONF_CFLAGS under 
'makeoptions').
    
    Was committed inadvertently before review, and does not have the proper 
tags.
---
 usr.sbin/config/config.5 | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/usr.sbin/config/config.5 b/usr.sbin/config/config.5
index 246e20c081ae..93d65819d1d8 100644
--- a/usr.sbin/config/config.5
+++ b/usr.sbin/config/config.5
@@ -316,27 +316,11 @@ variable is specified,
 .Ar value
 is assumed to be the empty string.
 .Pp
-Note that, as the common makefiles override the
-.Va CFLAGS
-variable after having processed the configuration file,
-customizing
-.Va CFLAGS
-directly via
-.Ic makeoptions
-is not possible.
-However, custom compiler flags can be specified using the
-.Va CONF_CFLAGS
-variable.
-They are appended after most of the flags automatically going into
-.Va CFLAGS ,
-allowing to override those that are not essential to the build process.
-.Pp
 Example:
 .Bd -literal -offset indent -compact
 makeoptions MYMAKEOPTION="foo"
 makeoptions MYMAKEOPTION+="bar"
 makeoptions MYNULLMAKEOPTION
-makeoptions CONF_CFLAGS+="-DSOME_CONTROLLING_MACRO"
 .Ed
 .\" -------- MAXUSERS --------
 .Pp

Reply via email to