summaryrefslogtreecommitdiff
path: root/media-libs/embree/embree-3.13.5.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/embree/embree-3.13.5.ebuild')
-rw-r--r--media-libs/embree/embree-3.13.5.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/media-libs/embree/embree-3.13.5.ebuild b/media-libs/embree/embree-3.13.5.ebuild
index 7a4464c22033..02aed35aa2cc 100644
--- a/media-libs/embree/embree-3.13.5.ebuild
+++ b/media-libs/embree/embree-3.13.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -56,6 +56,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