git: 2ab18d3286f5 - main - examples: Update COPTFLAGS in make.conf

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Tue, 09 Jun 2026 11:33:19 UTC
The branch main has been updated by des:

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

commit 2ab18d3286f5e1ea08cd86e234377b673245ec15
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-09 11:33:01 +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
---
 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 61bc132bad57..c771805b95a6 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -106,7 +106,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