git: 85b3cf5e9ce0 - stable/14 - examples: Update COPTFLAGS in make.conf

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Tue, 16 Jun 2026 01:00:57 UTC
The branch stable/14 has been updated by des:

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

commit 85b3cf5e9ce00b4fb8c683eb6eec80c843d4df45
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-06-09 11:29:13 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-06-16 01:00:22 +0000

    examples: Update COPTFLAGS in make.conf
    
    We've been using -O2 for about fifteen years.
    
    Reported by:    Jan Stary <hans@stare.cz>
    MFC after:      1 week
    
    (cherry picked from commit 2ab18d3286f5e1ea08cd86e234377b673245ec15)
---
 share/examples/etc/make.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index e450ea04eb14..5052666edd25 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -102,7 +102,7 @@
 # There is very little to gain by using higher optimization levels, and doing
 # so can cause problems.
 #
-#COPTFLAGS= -O -pipe
+#COPTFLAGS= -O2 -pipe
 #
 # Compare before install.
 #INSTALL+= -C