summaryrefslogtreecommitdiff
path: root/media-libs/embree/embree-4.3.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/embree/embree-4.3.0.ebuild')
-rw-r--r--media-libs/embree/embree-4.3.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/media-libs/embree/embree-4.3.0.ebuild b/media-libs/embree/embree-4.3.0.ebuild
index 370913e57a52..04ed9ac7aeb6 100644
--- a/media-libs/embree/embree-4.3.0.ebuild
+++ b/media-libs/embree/embree-4.3.0.ebuild
@@ -49,6 +49,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/859838
+ # https://github.com/embree/embree/issues/481
+ filter-lto
+
# NOTE: You can make embree accept custom CXXFLAGS by turning off
# EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use
# any "m*" compile flags. This is because embree builds modules for the