Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2026 11:33:19 +0000
From:      Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 2ab18d3286f5 - main - examples: Update COPTFLAGS in make.conf
Message-ID:  <6a27f9ff.36aa4.1ef1580c@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a27f9ff.36aa4.1ef1580c>