diff options
Diffstat (limited to 'sys-libs/libomp/libomp-15.0.2.9999.ebuild')
-rw-r--r-- | sys-libs/libomp/libomp-15.0.2.9999.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-libs/libomp/libomp-15.0.2.9999.ebuild b/sys-libs/libomp/libomp-15.0.2.9999.ebuild index 0baa3f18fd8b..5709b5e2fd82 100644 --- a/sys-libs/libomp/libomp-15.0.2.9999.ebuild +++ b/sys-libs/libomp/libomp-15.0.2.9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..11} ) -inherit cmake-multilib linux-info llvm llvm.org python-any-r1 +inherit flag-o-matic cmake-multilib linux-info llvm llvm.org python-any-r1 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler" HOMEPAGE="https://openmp.llvm.org" @@ -76,6 +76,8 @@ pkg_setup() { } multilib_src_configure() { + filter-lto # LTO causes issues in other packages building https://bugs.gentoo.org/870127 + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" |