summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-12 07:32:26 +0000
committerSam James <sam@gentoo.org>2024-03-12 07:32:26 +0000
commit4f655979b2d85a4bda4d0b3e6bdce9148bb649cd (patch)
tree1f226627bdf5be731bfb89bb06464d4d0eea057f /app-text/texlive-core
parentmedia-libs/libcaca: fix build w/ LTO on some arches (diff)
downloadgentoo-4f655979b2d85a4bda4d0b3e6bdce9148bb649cd.tar.gz
gentoo-4f655979b2d85a4bda4d0b3e6bdce9148bb649cd.tar.bz2
gentoo-4f655979b2d85a4bda4d0b3e6bdce9148bb649cd.zip
app-text/texlive-core: filter LTO, no-SA for 2021
Not doing 2023 as not tested it yet. 2021 at least has a type mismatch failure in some pascal to C thing (p2c) and there's also aliasing violations in utils/pmx. We should report these upstream as Karl is very nice & accommodating but no point in doing so with an old TL. Closes: https://bugs.gentoo.org/915223 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/texlive-core')
-rw-r--r--app-text/texlive-core/texlive-core-2021-r7.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/app-text/texlive-core/texlive-core-2021-r7.ebuild b/app-text/texlive-core/texlive-core-2021-r7.ebuild
index 68649d08130a..bd89b0fca8e3 100644
--- a/app-text/texlive-core/texlive-core-2021-r7.ebuild
+++ b/app-text/texlive-core/texlive-core-2021-r7.ebuild
@@ -181,6 +181,11 @@ src_prepare() {
}
src_configure() {
+ # TODO: report upstream
+ # bug #915223
+ append-flags -fno-strict-aliasing
+ filter-lto
+
# It fails on alpha without this
use alpha && append-ldflags "-Wl,--no-relax"