diff options
Diffstat (limited to 'sys-devel/llvm/llvm-17.0.0.9999.ebuild')
-rw-r--r-- | sys-devel/llvm/llvm-17.0.0.9999.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-devel/llvm/llvm-17.0.0.9999.ebuild b/sys-devel/llvm/llvm-17.0.0.9999.ebuild index d4655d4dc33f..af0cdcdc6249 100644 --- a/sys-devel/llvm/llvm-17.0.0.9999.ebuild +++ b/sys-devel/llvm/llvm-17.0.0.9999.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) inherit cmake llvm.org multilib-minimal pax-utils python-any-r1 \ - toolchain-funcs + toolchain-funcs flag-o-matic DESCRIPTION="Low Level Virtual Machine" HOMEPAGE="https://llvm.org/" @@ -325,6 +325,8 @@ get_distribution_components() { } multilib_src_configure() { + tcc-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) |