summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-04-04 01:25:46 -0400
committerSam James <sam@gentoo.org>2024-04-05 02:20:53 +0100
commita0411443dc39685cfc87bb416c3e3216cf1ae6f4 (patch)
tree1461563d9a0c768d0ecb9d415d0b4e702802740f /sci-geosciences/opencpn
parentnet-vpn/tinc: mark as LTO-unsafe (diff)
downloadgentoo-a0411443dc39685cfc87bb416c3e3216cf1ae6f4.tar.gz
gentoo-a0411443dc39685cfc87bb416c3e3216cf1ae6f4.tar.bz2
gentoo-a0411443dc39685cfc87bb416c3e3216cf1ae6f4.zip
sci-geosciences/opencpn: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/927484 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-geosciences/opencpn')
-rw-r--r--sci-geosciences/opencpn/opencpn-5.8.4.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sci-geosciences/opencpn/opencpn-5.8.4.ebuild b/sci-geosciences/opencpn/opencpn-5.8.4.ebuild
index 6f8e39b49c29..816c23d16687 100644
--- a/sci-geosciences/opencpn/opencpn-5.8.4.ebuild
+++ b/sci-geosciences/opencpn/opencpn-5.8.4.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
WX_GTK_VER="3.2-gtk3"
-inherit wxwidgets xdg cmake toolchain-funcs
+inherit flag-o-matic wxwidgets xdg cmake toolchain-funcs
DOC_VERSION="4.8.2.0"
@@ -53,6 +53,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/927484
+ # https://github.com/OpenCPN/OpenCPN/issues/3782
+ filter-lto
+
use doc && HTML_DOCS=( "${S}"/../${PN}/doc/. )
setup-wxwidgets