diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-04-04 01:40:47 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-04-05 02:20:53 +0100 |
commit | 01c2ae087f01037dc00680450185acb4444acad2 (patch) | |
tree | 0bf0172ebeca56ef87399e94a4c50953a7329cf2 /sci-geosciences | |
parent | sci-geosciences/opencpn: mark as LTO-unsafe (diff) | |
download | gentoo-01c2ae087f01037dc00680450185acb4444acad2.tar.gz gentoo-01c2ae087f01037dc00680450185acb4444acad2.tar.bz2 gentoo-01c2ae087f01037dc00680450185acb4444acad2.zip |
sci-geosciences/opencpn-plugin-iacfleet: mark as LTO-unsafe, SA-unsafe
Closes: https://bugs.gentoo.org/927485
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/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-0.21.1.ebuild | 12 | ||||
-rw-r--r-- | sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-9999.ebuild | 12 |
2 files changed, 20 insertions, 4 deletions
diff --git a/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-0.21.1.ebuild b/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-0.21.1.ebuild index dc971f1e4d94..0c40213181b3 100644 --- a/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-0.21.1.ebuild +++ b/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-0.21.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 WX_GTK_VER="3.0-gtk3" -inherit cmake wxwidgets +inherit cmake flag-o-matic wxwidgets MY_PN="iacfleet_pi" if [[ ${PV} == *9999 ]] ; then @@ -30,6 +30,14 @@ DEPEND="${RDEPEND}" BDEPEND="sys-devel/gettext" src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/927485 + # https://github.com/nohal/iacfleet_pi/issues/30 + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + setup-wxwidgets unicode cmake_src_configure } diff --git a/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-9999.ebuild b/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-9999.ebuild index dc971f1e4d94..0c40213181b3 100644 --- a/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-9999.ebuild +++ b/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 WX_GTK_VER="3.0-gtk3" -inherit cmake wxwidgets +inherit cmake flag-o-matic wxwidgets MY_PN="iacfleet_pi" if [[ ${PV} == *9999 ]] ; then @@ -30,6 +30,14 @@ DEPEND="${RDEPEND}" BDEPEND="sys-devel/gettext" src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/927485 + # https://github.com/nohal/iacfleet_pi/issues/30 + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + setup-wxwidgets unicode cmake_src_configure } |