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
 }

Reply via email to