commit: 56cf8e11a458a151d2388a19c49f80ed6201e985
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 29 01:53:40 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 29 01:53:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56cf8e11
app-text/texlive-core: forward-port LTO fix
Forward-port 4f655979b2d85a4bda4d0b3e6bdce9148bb649cd.
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-text/texlive-core/texlive-core-2023-r1.ebuild | 5 +++++
app-text/texlive-core/texlive-core-2023-r5.ebuild | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/app-text/texlive-core/texlive-core-2023-r1.ebuild
b/app-text/texlive-core/texlive-core-2023-r1.ebuild
index 7d3e51fa665b..673002a6fdf2 100644
--- a/app-text/texlive-core/texlive-core-2023-r1.ebuild
+++ b/app-text/texlive-core/texlive-core-2023-r1.ebuild
@@ -222,6 +222,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"
diff --git a/app-text/texlive-core/texlive-core-2023-r5.ebuild
b/app-text/texlive-core/texlive-core-2023-r5.ebuild
index 3fc171cb6102..1467953aa931 100644
--- a/app-text/texlive-core/texlive-core-2023-r5.ebuild
+++ b/app-text/texlive-core/texlive-core-2023-r5.ebuild
@@ -233,6 +233,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"