summaryrefslogtreecommitdiff
path: root/media-libs/embree/embree-3.13.4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/embree/embree-3.13.4.ebuild')
-rw-r--r--media-libs/embree/embree-3.13.4.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/media-libs/embree/embree-3.13.4.ebuild b/media-libs/embree/embree-3.13.4.ebuild
index 1925f9f320b4..9786e02cfb22 100644
--- a/media-libs/embree/embree-3.13.4.ebuild
+++ b/media-libs/embree/embree-3.13.4.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
@@ -57,6 +57,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