diff options
author | Sam James <sam@gentoo.org> | 2024-02-29 02:39:42 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-02-29 02:39:42 +0000 |
commit | aa92fe230950fbd19ca6d9a432d914117c6ae51d (patch) | |
tree | f81537f1a1325a2a2fbd0e79aa2fbb13119105ad /sci-geosciences | |
parent | kde-plasma/kwayland: filter-LTO in SLOT 6 (diff) | |
download | gentoo-aa92fe230950fbd19ca6d9a432d914117c6ae51d.tar.gz gentoo-aa92fe230950fbd19ca6d9a432d914117c6ae51d.tar.bz2 gentoo-aa92fe230950fbd19ca6d9a432d914117c6ae51d.zip |
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@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/liblas/liblas-1.8.1-r3.ebuild | 8 |
1 files 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) |