commit: 317780bee16c2aa9a60faac3e6df911ee3d2a5f9 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Mon Mar 18 05:00:43 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Mar 18 05:30:07 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=317780be
x11-libs/fltk: mark as LTO-unsafe It works in 1.4.9999 so just marking unsafe for existing versions and assuming it will shake out eventually whenever 1.4 is finally released. Closes: https://bugs.gentoo.org/881107 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> x11-libs/fltk/fltk-1.3.5-r4.ebuild | 5 +++++ x11-libs/fltk/fltk-1.3.8.ebuild | 5 +++++ x11-libs/fltk/fltk-1.3.9999.ebuild | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/x11-libs/fltk/fltk-1.3.5-r4.ebuild b/x11-libs/fltk/fltk-1.3.5-r4.ebuild index e21dcd6f8914..ad957e104713 100644 --- a/x11-libs/fltk/fltk-1.3.5-r4.ebuild +++ b/x11-libs/fltk/fltk-1.3.5-r4.ebuild @@ -93,6 +93,11 @@ src_prepare() { } multilib_src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/881107 + # Seems to be fixed in git (1.4.9999) + filter-lto + unset FLTK_LIBDIRS local FLTK_INCDIR=${EPREFIX}/usr/include/fltk diff --git a/x11-libs/fltk/fltk-1.3.8.ebuild b/x11-libs/fltk/fltk-1.3.8.ebuild index b287bf5fb251..710e3997f2a9 100644 --- a/x11-libs/fltk/fltk-1.3.8.ebuild +++ b/x11-libs/fltk/fltk-1.3.8.ebuild @@ -98,6 +98,11 @@ src_prepare() { } multilib_src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/881107 + # Seems to be fixed in git (1.4.9999) + filter-lto + unset FLTK_LIBDIRS local FLTK_INCDIR=${EPREFIX}/usr/include/fltk diff --git a/x11-libs/fltk/fltk-1.3.9999.ebuild b/x11-libs/fltk/fltk-1.3.9999.ebuild index ddbc8c24006c..8362de128971 100644 --- a/x11-libs/fltk/fltk-1.3.9999.ebuild +++ b/x11-libs/fltk/fltk-1.3.9999.ebuild @@ -99,6 +99,11 @@ src_prepare() { } multilib_src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/881107 + # Seems to be fixed in git (1.4.9999) + filter-lto + local FLTK_INCDIR=${EPREFIX}/usr/include/fltk local FLTK_LIBDIR=${EPREFIX}/usr/$(get_libdir)/fltk FLTK_LIBDIRS+=${FLTK_LIBDIRS+:}${FLTK_LIBDIR}