commit: 6523ef2c99db1ba28395f2d6b8ca8e8f46564f53 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Tue Mar 26 04:41:01 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Mar 26 12:27:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6523ef2c
media-libs/embree: mark as LTO-unsafe Closes: https://bugs.gentoo.org/859838 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/embree/embree-3.13.4.ebuild | 7 ++++++- media-libs/embree/embree-3.13.5.ebuild | 7 ++++++- media-libs/embree/embree-4.3.0.ebuild | 5 +++++ 3 files changed, 17 insertions(+), 2 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 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 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
