commit:     90ce46cb47f1c6205dec81c439aa5ebdc278e6eb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 15 16:53:09 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 15 16:54:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90ce46cb

sys-devel/llvm: Remove obsolete -flto filtering from live ebuilds

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/llvm/llvm-16.0.4.9999.ebuild | 7 +++----
 sys-devel/llvm/llvm-17.0.0.9999.ebuild | 7 +++----
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/sys-devel/llvm/llvm-16.0.4.9999.ebuild 
b/sys-devel/llvm/llvm-16.0.4.9999.ebuild
index 6b874a5fe20f..840748f0601b 100644
--- a/sys-devel/llvm/llvm-16.0.4.9999.ebuild
+++ b/sys-devel/llvm/llvm-16.0.4.9999.ebuild
@@ -4,8 +4,9 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake llvm.org multilib-minimal pax-utils python-any-r1 \
-       toolchain-funcs flag-o-matic
+
+inherit cmake llvm.org multilib-minimal pax-utils python-any-r1
+inherit toolchain-funcs
 
 DESCRIPTION="Low Level Virtual Machine"
 HOMEPAGE="https://llvm.org/";
@@ -324,8 +325,6 @@ get_distribution_components() {
 }
 
 multilib_src_configure() {
-       tc-is-gcc && filter-lto # GCC miscompiles LLVM, bug #873670
-
        local ffi_cflags ffi_ldflags
        if use libffi; then
                ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi)

diff --git a/sys-devel/llvm/llvm-17.0.0.9999.ebuild 
b/sys-devel/llvm/llvm-17.0.0.9999.ebuild
index 1ae16d3ef49a..c2c2d7c6b628 100644
--- a/sys-devel/llvm/llvm-17.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-17.0.0.9999.ebuild
@@ -4,8 +4,9 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake llvm.org multilib-minimal pax-utils python-any-r1 \
-       toolchain-funcs flag-o-matic
+
+inherit cmake llvm.org multilib-minimal pax-utils python-any-r1
+inherit toolchain-funcs
 
 DESCRIPTION="Low Level Virtual Machine"
 HOMEPAGE="https://llvm.org/";
@@ -338,8 +339,6 @@ get_distribution_components() {
 }
 
 multilib_src_configure() {
-       tc-is-gcc && filter-lto # GCC miscompiles LLVM, bug #873670
-
        local ffi_cflags ffi_ldflags
        if use libffi; then
                ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi)

Reply via email to