diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-12 12:46:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-12 12:46:41 +0000 |
commit | 0c97119fc8982c1a6f367de25542834e4dd6cda4 (patch) | |
tree | dad39da062cf02375ff493ad8b9a147a1b906a2c /sys-devel/llvm/llvm-17.0.6.ebuild | |
parent | c6e62298405d39e635c0d8dd6e026c8cb667a478 (diff) |
gentoo auto-resync : 12:03:2024 - 12:46:41
Diffstat (limited to 'sys-devel/llvm/llvm-17.0.6.ebuild')
-rw-r--r-- | sys-devel/llvm/llvm-17.0.6.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-devel/llvm/llvm-17.0.6.ebuild b/sys-devel/llvm/llvm-17.0.6.ebuild index c5159086d72c..bb3bd996f1e3 100644 --- a/sys-devel/llvm/llvm-17.0.6.ebuild +++ b/sys-devel/llvm/llvm-17.0.6.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake llvm.org multilib-minimal pax-utils python-any-r1 +inherit cmake flag-o-matic llvm.org multilib-minimal pax-utils python-any-r1 inherit toolchain-funcs DESCRIPTION="Low Level Virtual Machine" @@ -338,6 +338,11 @@ get_distribution_components() { } multilib_src_configure() { + # ODR violations (bug #917536, bug #926529). Just do it for GCC for now + # to avoid people grumbling. GCC is, anecdotally, more likely to miscompile + # LLVM with LTO anyway (which is not necessarily its fault). + tc-is-gcc && filter-lto + local ffi_cflags ffi_ldflags if use libffi; then ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi) |