commit: aa92fe230950fbd19ca6d9a432d914117c6ae51d Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Feb 29 02:39:42 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Feb 29 02:39:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa92fe23
sci-geosciences/liblas: filter LTO Reported the aliasing violation upstream. Bug: https://github.com/libLAS/libLAS/issues/224 Closes: https://bugs.gentoo.org/862585 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-geosciences/liblas/liblas-1.8.1-r3.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild index 7c9fd5b2fea8..8865b0241ae5 100644 --- a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild +++ b/sci-geosciences/liblas/liblas-1.8.1-r3.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="C/C++ library for manipulating the LAS LiDAR format common in GIS" HOMEPAGE="https://github.com/libLAS/libLAS/" @@ -49,6 +49,10 @@ src_prepare() { } src_configure() { + # Aliasing violations (bug #862585) + filter-lto + append-flags -fno-strict-aliasing + local mycmakeargs=( -DLIBLAS_LIB_SUBDIR=$(get_libdir) -DWITH_GDAL=$(usex gdal)
