summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViolet Purcell <vimproved@inventati.org>2023-07-09 14:06:50 +0000
committerJoonas Niilola <juippis@gentoo.org>2023-07-26 11:00:18 +0300
commit958acb2ffefb980fb7be3cfcfd5c667e567184d4 (patch)
treea8c948cdca0223bc070ab98df0394e64b0b3dc83 /media-libs/embree
parentwww-apps/bugzilla: add missing dev-perl/Email-Address dependency (diff)
downloadgentoo-958acb2ffefb980fb7be3cfcfd5c667e567184d4.tar.gz
gentoo-958acb2ffefb980fb7be3cfcfd5c667e567184d4.tar.bz2
gentoo-958acb2ffefb980fb7be3cfcfd5c667e567184d4.zip
media-libs/embree: Filter LTO with clang
Closes: https://bugs.gentoo.org/910164 Signed-off-by: Violet Purcell <vimproved@inventati.org> Closes: https://github.com/gentoo/gentoo/pull/31811 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs/embree')
-rw-r--r--media-libs/embree/embree-3.13.4.ebuild5
-rw-r--r--media-libs/embree/embree-3.13.5.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/media-libs/embree/embree-3.13.4.ebuild b/media-libs/embree/embree-3.13.4.ebuild
index 247a69b0fb6c..1925f9f320b4 100644
--- a/media-libs/embree/embree-3.13.4.ebuild
+++ b/media-libs/embree/embree-3.13.4.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake flag-o-matic linux-info
+inherit cmake flag-o-matic linux-info toolchain-funcs
DESCRIPTION="Collection of high-performance ray tracing kernels"
HOMEPAGE="https://github.com/embree/embree"
@@ -67,6 +67,9 @@ src_configure() {
filter-flags -m*
+ # https://bugs.gentoo.org/910164
+ tc-is-clang && filter-lto
+
local mycmakeargs=(
# Currently Intel only host their test files on their internal network.
# So it seems like users can't easily get a hold of these and do
diff --git a/media-libs/embree/embree-3.13.5.ebuild b/media-libs/embree/embree-3.13.5.ebuild
index 1f94e528f380..7a4464c22033 100644
--- a/media-libs/embree/embree-3.13.5.ebuild
+++ b/media-libs/embree/embree-3.13.5.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake flag-o-matic linux-info
+inherit cmake flag-o-matic linux-info toolchain-funcs
DESCRIPTION="Collection of high-performance ray tracing kernels"
HOMEPAGE="https://github.com/embree/embree"
@@ -66,6 +66,9 @@ src_configure() {
filter-flags -m*
+ # https://bugs.gentoo.org/910164
+ tc-is-clang && filter-lto
+
local mycmakeargs=(
# Currently Intel only host their test files on their internal network.
# So it seems like users can't easily get a hold of these and do