commit:     83dc9cfeac977a6577bf9f03bf8fe14c83f095cd
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Apr  3 21:04:05 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  5 01:20:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83dc9cfe

x11-libs/fox: also mark oldest version as LTO-unsafe

It has a different slot.

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

 x11-libs/fox/fox-1.6.57-r3.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/x11-libs/fox/fox-1.6.57-r3.ebuild 
b/x11-libs/fox/fox-1.6.57-r3.ebuild
index af09467a64eb..75a76109a911 100644
--- a/x11-libs/fox/fox-1.6.57-r3.ebuild
+++ b/x11-libs/fox/fox-1.6.57-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="C++ Toolkit for developing Graphical User Interfaces easily and 
effectively"
 HOMEPAGE="http://www.fox-toolkit.org/";
@@ -51,6 +51,14 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=strict-aliasing
+       # https://bugs.gentoo.org/864412
+       # Fixed in 1.7.84
+       #
+       # Do not trust it for LTO either.
+       append-flags -fno-strict-aliasing
+       filter-lto
+
        econf \
                --disable-static \
                --enable-$(usex debug debug release) \

Reply via email to