summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-20 16:10:01 -0400
committerSam James <sam@gentoo.org>2024-03-20 23:46:18 +0000
commit86e4c6c3cfd2420dab5aae7c13f05e78e686d073 (patch)
treea3154103fb4800a9be7b654917a180d081e8ee6f /sci-biology
parentsci-geosciences/grass: add 8.3.2 (diff)
downloadgentoo-86e4c6c3cfd2420dab5aae7c13f05e78e686d073.tar.gz
gentoo-86e4c6c3cfd2420dab5aae7c13f05e78e686d073.tar.bz2
gentoo-86e4c6c3cfd2420dab5aae7c13f05e78e686d073.zip
sci-biology/t-coffee: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/862327 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/t-coffee/t-coffee-11.00-r3.ebuild10
1 files changed, 9 insertions, 1 deletions
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
}