From 958acb2ffefb980fb7be3cfcfd5c667e567184d4 Mon Sep 17 00:00:00 2001 From: Violet Purcell Date: Sun, 9 Jul 2023 14:06:50 +0000 Subject: [PATCH] media-libs/embree: Filter LTO with clang Closes: https://bugs.gentoo.org/910164 Signed-off-by: Violet Purcell Closes: https://github.com/gentoo/gentoo/pull/31811 Signed-off-by: Joonas Niilola --- media-libs/embree/embree-3.13.4.ebuild | 5 ++++- media-libs/embree/embree-3.13.5.ebuild | 5 ++++- 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 247a69b0fb6cb..1925f9f320b4f 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 1f94e528f3801..7a4464c220337 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