commit:     56a7877fca5ed96053d93689e4e4a28786f3003f
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  2 21:42:02 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Aug  2 21:42:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56a7877f

sci-mathematics/lean: filter LTO (odr)

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

 sci-mathematics/lean/lean-3.43.0.ebuild | 4 +++-
 sci-mathematics/lean/lean-3.44.1.ebuild | 4 +++-
 sci-mathematics/lean/lean-3.45.0.ebuild | 4 +++-
 sci-mathematics/lean/lean-3.9999.ebuild | 4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/sci-mathematics/lean/lean-3.43.0.ebuild 
b/sci-mathematics/lean/lean-3.43.0.ebuild
index 5d8ee8eecd4b..6623228581a0 100644
--- a/sci-mathematics/lean/lean-3.43.0.ebuild
+++ b/sci-mathematics/lean/lean-3.43.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MAJOR=$(ver_cut 1)
 CMAKE_IN_SOURCE_BUILD="ON"
 
-inherit cmake readme.gentoo-r1
+inherit flag-o-matic cmake readme.gentoo-r1
 
 DESCRIPTION="The Lean Theorem Prover"
 HOMEPAGE="https://leanprover-community.github.io/";
@@ -37,6 +37,8 @@ src_configure() {
                CMAKE_BUILD_TYPE="Release"
        fi
 
+       filter-lto
+
        local mycmakeargs=(
                -DALPHA=ON
                -DAUTO_THREAD_FINALIZATION=ON

diff --git a/sci-mathematics/lean/lean-3.44.1.ebuild 
b/sci-mathematics/lean/lean-3.44.1.ebuild
index 5d8ee8eecd4b..6623228581a0 100644
--- a/sci-mathematics/lean/lean-3.44.1.ebuild
+++ b/sci-mathematics/lean/lean-3.44.1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MAJOR=$(ver_cut 1)
 CMAKE_IN_SOURCE_BUILD="ON"
 
-inherit cmake readme.gentoo-r1
+inherit flag-o-matic cmake readme.gentoo-r1
 
 DESCRIPTION="The Lean Theorem Prover"
 HOMEPAGE="https://leanprover-community.github.io/";
@@ -37,6 +37,8 @@ src_configure() {
                CMAKE_BUILD_TYPE="Release"
        fi
 
+       filter-lto
+
        local mycmakeargs=(
                -DALPHA=ON
                -DAUTO_THREAD_FINALIZATION=ON

diff --git a/sci-mathematics/lean/lean-3.45.0.ebuild 
b/sci-mathematics/lean/lean-3.45.0.ebuild
index 5d8ee8eecd4b..6623228581a0 100644
--- a/sci-mathematics/lean/lean-3.45.0.ebuild
+++ b/sci-mathematics/lean/lean-3.45.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MAJOR=$(ver_cut 1)
 CMAKE_IN_SOURCE_BUILD="ON"
 
-inherit cmake readme.gentoo-r1
+inherit flag-o-matic cmake readme.gentoo-r1
 
 DESCRIPTION="The Lean Theorem Prover"
 HOMEPAGE="https://leanprover-community.github.io/";
@@ -37,6 +37,8 @@ src_configure() {
                CMAKE_BUILD_TYPE="Release"
        fi
 
+       filter-lto
+
        local mycmakeargs=(
                -DALPHA=ON
                -DAUTO_THREAD_FINALIZATION=ON

diff --git a/sci-mathematics/lean/lean-3.9999.ebuild 
b/sci-mathematics/lean/lean-3.9999.ebuild
index 5d8ee8eecd4b..6623228581a0 100644
--- a/sci-mathematics/lean/lean-3.9999.ebuild
+++ b/sci-mathematics/lean/lean-3.9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MAJOR=$(ver_cut 1)
 CMAKE_IN_SOURCE_BUILD="ON"
 
-inherit cmake readme.gentoo-r1
+inherit flag-o-matic cmake readme.gentoo-r1
 
 DESCRIPTION="The Lean Theorem Prover"
 HOMEPAGE="https://leanprover-community.github.io/";
@@ -37,6 +37,8 @@ src_configure() {
                CMAKE_BUILD_TYPE="Release"
        fi
 
+       filter-lto
+
        local mycmakeargs=(
                -DALPHA=ON
                -DAUTO_THREAD_FINALIZATION=ON

Reply via email to