commit:     c88dedc2eee275af180bbf6a5341c372a8d79182
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon May  6 04:47:37 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May  6 06:05:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c88dedc2

app-editors/wxhexeditor: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/854414
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/wxhexeditor/wxhexeditor-0.24-r1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/app-editors/wxhexeditor/wxhexeditor-0.24-r1.ebuild 
b/app-editors/wxhexeditor/wxhexeditor-0.24-r1.ebuild
index 6d3401c0390b..9d44eb00cbc8 100644
--- a/app-editors/wxhexeditor/wxhexeditor-0.24-r1.ebuild
+++ b/app-editors/wxhexeditor/wxhexeditor-0.24-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 MY_PN="wxHexEditor"
 WX_GTK_VER=3.0-gtk3
-inherit toolchain-funcs wxwidgets
+inherit flag-o-matic toolchain-funcs wxwidgets
 
 DESCRIPTION="A cross-platform hex editor designed specially for large files"
 HOMEPAGE="https://github.com/EUA/wxHexEditor";
@@ -40,4 +40,9 @@ pkg_setup() {
 src_prepare() {
        setup-wxwidgets
        default
+
+       # -Werror=odr, -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/854414
+       # https://github.com/EUA/wxHexEditor/issues/222
+       filter-lto
 }

Reply via email to