commit:     86e4c6c3cfd2420dab5aae7c13f05e78e686d073
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Mar 20 20:10:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 20 23:46:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86e4c6c3

sci-biology/t-coffee: mark as LTO-unsafe, strict-aliasing unsafe

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

 sci-biology/t-coffee/t-coffee-11.00-r3.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/sci-biology/t-coffee/t-coffee-11.00-r3.ebuild 
b/sci-biology/t-coffee/t-coffee-11.00-r3.ebuild
index 0064cc319f47..89966a0580d2 100644
--- a/sci-biology/t-coffee/t-coffee-11.00-r3.ebuild
+++ b/sci-biology/t-coffee/t-coffee-11.00-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,6 +31,14 @@ PATCHES=(
 )
 
 src_configure() {
+       # -Werror=strict-aliasing
+       # https://bugs.gentoo.org/862327
+       # https://github.com/cbcrg/tcoffee/issues/60
+       #
+       # Do not trust with LTO either
+       append-flags -fno-strict-aliasing
+       filter-lto
+
        tc-export CXX
        append-cxxflags -Wno-write-strings -Wno-unused-result
 }

Reply via email to