commit: 47a5f36df8789f2d55065407af24e0ee83a8a118 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Thu Mar 7 07:21:26 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Mar 7 11:46:26 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47a5f36d
sci-libs/indilib: mark as LTO-unsafe Closes: https://bugs.gentoo.org/878525 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> sci-libs/indilib/indilib-2.0.4.ebuild | 9 +++++++-- sci-libs/indilib/indilib-2.0.6.ebuild | 7 ++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/sci-libs/indilib/indilib-2.0.4.ebuild b/sci-libs/indilib/indilib-2.0.4.ebuild index 9f35ab2702f0..e12626c36f03 100644 --- a/sci-libs/indilib/indilib-2.0.4.ebuild +++ b/sci-libs/indilib/indilib-2.0.4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake udev +inherit cmake flag-o-matic udev DESCRIPTION="INDI Astronomical Control Protocol library" HOMEPAGE="https://www.indilib.org/" @@ -41,6 +41,11 @@ DEPEND="${RDEPEND} " src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/878525 + # https://github.com/indilib/indi/issues/2023 + filter-lto + local mycmakeargs=( -DINDI_BUILD_QT5_CLIENT=OFF -DINDI_BUILD_SHARED=ON diff --git a/sci-libs/indilib/indilib-2.0.6.ebuild b/sci-libs/indilib/indilib-2.0.6.ebuild index afe230a6d6ed..c351ca438f79 100644 --- a/sci-libs/indilib/indilib-2.0.6.ebuild +++ b/sci-libs/indilib/indilib-2.0.6.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake udev +inherit cmake flag-o-matic udev DESCRIPTION="INDI Astronomical Control Protocol library" HOMEPAGE="https://www.indilib.org/" @@ -43,6 +43,11 @@ DEPEND="${RDEPEND} " src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/878525 + # https://github.com/indilib/indi/issues/2023 + filter-lto + local mycmakeargs=( -DINDI_SYSTEM_HTTPLIB=ON -DINDI_SYSTEM_JSONLIB=ON
