From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1580349-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id EAEDF158013
	for <garchives@archives.gentoo.org>; Sat, 16 Dec 2023 03:08:57 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 542672BC022;
	Sat, 16 Dec 2023 03:08:56 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 34A0A2BC022
	for <gentoo-commits@lists.gentoo.org>; Sat, 16 Dec 2023 03:08:56 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 25429335D76
	for <gentoo-commits@lists.gentoo.org>; Sat, 16 Dec 2023 03:08:55 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id ACEB7104F
	for <gentoo-commits@lists.gentoo.org>; Sat, 16 Dec 2023 03:08:53 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1702696089.712f6dc0926c54896d6c0717b2c8ccc4d38af2d4.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/doxygen/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-doc/doxygen/doxygen-1.9.8.ebuild
X-VCS-Directories: app-doc/doxygen/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 712f6dc0926c54896d6c0717b2c8ccc4d38af2d4
X-VCS-Branch: master
Date: Sat, 16 Dec 2023 03:08:53 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 3322140c-3228-4188-bc28-952909fdaf6a
X-Archives-Hash: b5093999c95d99e35aae767b5d1a664e

commit:     712f6dc0926c54896d6c0717b2c8ccc4d38af2d4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 16 03:07:01 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 16 03:08:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=712f6dc0

app-doc/doxygen: improve -O2 forcing

No idea why this is there but improve the output (less noisy) and add a
TODO comment.

Bug: https://bugs.gentoo.org/920092
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-doc/doxygen/doxygen-1.9.8.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/app-doc/doxygen/doxygen-1.9.8.ebuild b/app-doc/doxygen/doxygen-1.9.8.ebuild
index 5d806d2fbc60..d89d17e34816 100644
--- a/app-doc/doxygen/doxygen-1.9.8.ebuild
+++ b/app-doc/doxygen/doxygen-1.9.8.ebuild
@@ -98,13 +98,9 @@ src_prepare() {
 		doc/maintainers.txt || die
 
 	if is-flagq "-O3" ; then
-		ewarn
+		# TODO: Investigate this and report a bug accordingly...
 		ewarn "Compiling with -O3 is known to produce incorrectly"
-		ewarn "optimized code which breaks doxygen."
-		ewarn
-		elog
-		elog "Continuing with -O2 instead ..."
-		elog
+		ewarn "optimized code which breaks doxygen. Using -O2 instead."
 		replace-flags "-O3" "-O2"
 	fi
 }