commit:     9bd7082dff404bb1031102adc1cf64ab0dc54c63
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  5 07:00:07 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  5 07:00:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bd7082d

app-misc/sphinx: filter LTO, no SA

The codebase is very old and it's no longer being maintained upstream. Do
as we did in 1069c86e5578828a2640f2cc3510fe11c0ba804b.

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

 app-misc/sphinx/sphinx-2.2.11-r5.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-misc/sphinx/sphinx-2.2.11-r5.ebuild 
b/app-misc/sphinx/sphinx-2.2.11-r5.ebuild
index 8f12c090a21d..cd7ae1b4fc4a 100644
--- a/app-misc/sphinx/sphinx-2.2.11-r5.ebuild
+++ b/app-misc/sphinx/sphinx-2.2.11-r5.ebuild
@@ -58,6 +58,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #854738
+       append-flags -fno-strict-aliasing
+       filter-lto
        # This code is no longer maintained and not compatible with modern 
C/C++ standards, bug #880923
        append-cflags -std=gnu89
        append-cxxflags -std=c++11

Reply via email to