commit: 7ce90bf1fd107e51cc1ab921fe32fb7fdefabe0d Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Thu Mar 14 00:08:50 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Mar 14 00:34:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ce90bf1
sci-libs/geos: mark as LTO-unsafe Closes: https://bugs.gentoo.org/862702 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> sci-libs/geos/geos-3.11.2.ebuild | 7 ++++++- sci-libs/geos/geos-3.12.0.ebuild | 7 ++++++- sci-libs/geos/geos-3.12.1.ebuild | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/sci-libs/geos/geos-3.11.2.ebuild b/sci-libs/geos/geos-3.11.2.ebuild index 6ff66b24d49b..ea63aa08b670 100644 --- a/sci-libs/geos/geos-3.11.2.ebuild +++ b/sci-libs/geos/geos-3.11.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="Geometry engine library for Geographic Information Systems" HOMEPAGE="https://libgeos.org/" @@ -22,6 +22,11 @@ PATCHES=( ) src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/862702 + # https://github.com/libgeos/geos/issues/1054 + filter-lto + local mycmakeargs=( -DBUILD_DOCUMENTATION=$(usex doc) -DBUILD_TESTING=$(usex test) diff --git a/sci-libs/geos/geos-3.12.0.ebuild b/sci-libs/geos/geos-3.12.0.ebuild index 3cd12a9122d1..71105c249023 100644 --- a/sci-libs/geos/geos-3.12.0.ebuild +++ b/sci-libs/geos/geos-3.12.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="Geometry engine library for Geographic Information Systems" HOMEPAGE="https://libgeos.org/" @@ -18,6 +18,11 @@ RESTRICT="!test? ( test )" BDEPEND="doc? ( app-text/doxygen )" src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/862702 + # https://github.com/libgeos/geos/issues/1054 + filter-lto + local mycmakeargs=( -DBUILD_DOCUMENTATION=$(usex doc) -DBUILD_TESTING=$(usex test) diff --git a/sci-libs/geos/geos-3.12.1.ebuild b/sci-libs/geos/geos-3.12.1.ebuild index 3cd12a9122d1..71105c249023 100644 --- a/sci-libs/geos/geos-3.12.1.ebuild +++ b/sci-libs/geos/geos-3.12.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="Geometry engine library for Geographic Information Systems" HOMEPAGE="https://libgeos.org/" @@ -18,6 +18,11 @@ RESTRICT="!test? ( test )" BDEPEND="doc? ( app-text/doxygen )" src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/862702 + # https://github.com/libgeos/geos/issues/1054 + filter-lto + local mycmakeargs=( -DBUILD_DOCUMENTATION=$(usex doc) -DBUILD_TESTING=$(usex test)
