git: 8f77be22904a - main - mitigations(7): note that FORTIFY_SOURCE must be set in the env

From: Kyle Evans <kevans_at_FreeBSD.org>
Date: Tue, 23 Jul 2024 22:21:05 UTC
The branch main has been updated by kevans:

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

commit 8f77be22904a91014bb14af30c7d88a5d31f2c51
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2024-07-23 22:20:53 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2024-07-23 22:20:53 +0000

    mitigations(7): note that FORTIFY_SOURCE must be set in the env
    
    Some parts of the build will need to be able to override it, so it must
    be set either in the environment or src-env.conf -- NOT src.conf.
    
    Reviewed by:    imp, markj
    Sponsored by:   Klara, Inc.
    Sponsored by:   Stormshield
    Differential Revision:  https://reviews.freebsd.org/D46070
---
 share/man/man7/mitigations.7 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/share/man/man7/mitigations.7 b/share/man/man7/mitigations.7
index e5ff439455e3..75decbe2d026 100644
--- a/share/man/man7/mitigations.7
+++ b/share/man/man7/mitigations.7
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd June 1, 2024
+.Dd July 23, 2024
 .Dt MITIGATIONS 7
 .Os
 .Sh NAME
@@ -275,6 +275,8 @@ headers.
 .Fx
 world builds can set
 .Va FORTIFY_SOURCE
+in the environment or
+.Pa /etc/src-env.conf
 to provide a default value for
 .Va _FORTIFY_SOURCE .
 When enabled,