commit:     5fa56a38ce0a5ae9d983c795fe98cf2245726de1
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 21:39:19 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 21:40:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fa56a38

dev-lang/julia: filter LTO (type mismatch)

Closes: https://bugs.gentoo.org/855602
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/julia/julia-1.7.1-r4.ebuild | 5 ++++-
 dev-lang/julia/julia-1.7.3.ebuild    | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-lang/julia/julia-1.7.1-r4.ebuild 
b/dev-lang/julia/julia-1.7.1-r4.ebuild
index 64c2c07f71c4..1ddfaf72dbc2 100644
--- a/dev-lang/julia/julia-1.7.1-r4.ebuild
+++ b/dev-lang/julia/julia-1.7.1-r4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit llvm pax-utils toolchain-funcs
+inherit flag-o-matic llvm pax-utils toolchain-funcs
 
 # correct versions for stdlibs are in deps/checksums
 # for everything else, run with network-sandbox and wait for the crash
@@ -110,6 +110,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #855602
+       filter-lto
+
        use system-llvm && ewarn "You have enabled system-llvm. This is 
unsupported by upstream and may not work."
 
        # julia does not play well with the system versions of libuv

diff --git a/dev-lang/julia/julia-1.7.3.ebuild 
b/dev-lang/julia/julia-1.7.3.ebuild
index 39455ca05597..1b2d16111014 100644
--- a/dev-lang/julia/julia-1.7.3.ebuild
+++ b/dev-lang/julia/julia-1.7.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit llvm pax-utils toolchain-funcs
+inherit flag-o-matic llvm pax-utils toolchain-funcs
 
 # correct versions for stdlibs are in deps/checksums
 # for everything else, run with network-sandbox and wait for the crash
@@ -123,6 +123,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #855602
+       filter-lto
+
        use system-llvm && ewarn "You have enabled system-llvm. This is 
unsupported by upstream and may not work."
 
        # julia does not play well with the system versions of libuv

Reply via email to