Skip to content

Commit

Permalink
app-doc/doxygen: improve -O2 forcing
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
thesamesam committed Dec 16, 2023
1 parent 948851c commit 712f6dc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions app-doc/doxygen/doxygen-1.9.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 712f6dc

Please sign in to comment.