diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-14 17:13:21 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-14 21:43:12 +0000 |
commit | ddad82e4be5662f13ba7d2a58e638128cd4dc8da (patch) | |
tree | 31908e337397e5d22311d8ec6ae42a34e337b41a /sci-geosciences | |
parent | games-puzzle/skladnik: add 0.5.2 (diff) | |
download | gentoo-ddad82e4be5662f13ba7d2a58e638128cd4dc8da.tar.gz gentoo-ddad82e4be5662f13ba7d2a58e638128cd4dc8da.tar.bz2 gentoo-ddad82e4be5662f13ba7d2a58e638128cd4dc8da.zip |
sci-geosciences/qgis: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/862660
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/qgis/qgis-3.28.10.ebuild | 10 | ||||
-rw-r--r-- | sci-geosciences/qgis/qgis-9999.ebuild | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/sci-geosciences/qgis/qgis-3.28.10.ebuild b/sci-geosciences/qgis/qgis-3.28.10.ebuild index 6659f9219aed..6b2233260c1e 100644 --- a/sci-geosciences/qgis/qgis-3.28.10.ebuild +++ b/sci-geosciences/qgis/qgis-3.28.10.ebuild @@ -18,7 +18,7 @@ else examples? ( https://qgis.org/downloads/data/qgis_sample_data.tar.gz -> qgis_sample_data-2.8.14.tar.gz )" KEYWORDS="amd64 ~x86" fi -inherit cmake python-single-r1 virtualx xdg +inherit cmake flag-o-matic python-single-r1 virtualx xdg DESCRIPTION="User friendly Geographic Information System" HOMEPAGE="https://www.qgis.org/" @@ -137,6 +137,14 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/862660 + # https://github.com/qgis/QGIS/issues/56859 + # + # Do not trust with LTO either + append-flags -fno-strict-aliasing + filter-lto + local mycmakeargs=( -DQGIS_MANUAL_SUBDIR=share/man/ -DQGIS_LIB_SUBDIR=$(get_libdir) diff --git a/sci-geosciences/qgis/qgis-9999.ebuild b/sci-geosciences/qgis/qgis-9999.ebuild index debd8230b8bd..c1a65d6983fa 100644 --- a/sci-geosciences/qgis/qgis-9999.ebuild +++ b/sci-geosciences/qgis/qgis-9999.ebuild @@ -18,7 +18,7 @@ else examples? ( https://qgis.org/downloads/data/qgis_sample_data.tar.gz -> qgis_sample_data-2.8.14.tar.gz )" KEYWORDS="~amd64 ~x86" fi -inherit cmake python-single-r1 virtualx xdg +inherit cmake flag-o-matic python-single-r1 virtualx xdg DESCRIPTION="User friendly Geographic Information System" HOMEPAGE="https://www.qgis.org/" @@ -136,6 +136,14 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/862660 + # https://github.com/qgis/QGIS/issues/56859 + # + # Do not trust with LTO either + append-flags -fno-strict-aliasing + filter-lto + local mycmakeargs=( -DQGIS_MANUAL_SUBDIR=share/man/ -DQGIS_LIB_SUBDIR=$(get_libdir) |