summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-05 07:00:07 +0000
committerSam James <sam@gentoo.org>2024-03-05 07:00:34 +0000
commit9bd7082dff404bb1031102adc1cf64ab0dc54c63 (patch)
treefe6be5d7ded5277577b3c9ce4d99e23afc32d3a7 /app-misc
parentdev-util/crash: filter LTO (diff)
downloadgentoo-9bd7082dff404bb1031102adc1cf64ab0dc54c63.tar.gz
gentoo-9bd7082dff404bb1031102adc1cf64ab0dc54c63.tar.bz2
gentoo-9bd7082dff404bb1031102adc1cf64ab0dc54c63.zip
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@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/sphinx/sphinx-2.2.11-r5.ebuild3
1 files changed, 3 insertions, 0 deletions
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