commit: 658f0410adfff5e7f92106bdc0a4458632d8ccce Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Fri Mar 15 06:52:06 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 15 07:01:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=658f0410
sci-geosciences/laszip: mark as LTO-unsafe Closes: https://bugs.gentoo.org/862582 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> sci-geosciences/laszip/laszip-3.4.1.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/sci-geosciences/laszip/laszip-3.4.1.ebuild b/sci-geosciences/laszip/laszip-3.4.1.ebuild index 4c20bf887e69..fe87f91ea1c0 100644 --- a/sci-geosciences/laszip/laszip-3.4.1.ebuild +++ b/sci-geosciences/laszip/laszip-3.4.1.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=7 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="Library for free and lossless compression of the LAS LiDAR format" HOMEPAGE="https://laszip.org/" @@ -14,3 +14,12 @@ LICENSE="LGPL-2.1+" KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~x86" S="${WORKDIR}/${PN}-src-${PV}" + +src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/862582 + # Fixed in newer version. + filter-lto + + cmake_src_configure +}