summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-16 23:55:53 -0400
committerSam James <sam@gentoo.org>2024-03-17 05:28:39 +0000
commit14ca3a5d1eb39f8b190fbb20a85900f8571ef626 (patch)
treeb131c7681964495873f8e331d0e57c56de341e48 /www-client
parentx11-misc/rofi: mark as LTO-unsafe (diff)
downloadgentoo-14ca3a5d1eb39f8b190fbb20a85900f8571ef626.tar.gz
gentoo-14ca3a5d1eb39f8b190fbb20a85900f8571ef626.tar.bz2
gentoo-14ca3a5d1eb39f8b190fbb20a85900f8571ef626.zip
www-client/otter: mark as LTO-unsafe
Seemingly fixed upstream in git. Closes: https://bugs.gentoo.org/864130 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/otter/otter-1.0.03.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/www-client/otter/otter-1.0.03.ebuild b/www-client/otter/otter-1.0.03.ebuild
index c17ffe24bc75..aeba9a206ba9 100644
--- a/www-client/otter/otter-1.0.03.ebuild
+++ b/www-client/otter/otter-1.0.03.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit cmake desktop xdg
+inherit cmake desktop flag-o-matic xdg
if [[ ${PV} == 9999* ]] ; then
EGIT_REPO_URI="https://github.com/OtterBrowser/${PN}-browser"
@@ -47,6 +47,14 @@ PATCHES=(
)
src_prepare() {
+ # -Werror=odr, -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/864130
+ #
+ # Compiles fine with otter-9999, BUT new versions are being tagged from a
+ # maintenance branch, not from master, so do check before trying to remove
+ # this.
+ filter-lto
+
cmake_src_prepare
if [[ -n ${LINGUAS} ]]; then