summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/sphinx/sphinx-2.2.11-r5.ebuild')
-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