summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-21 02:05:53 -0400
committerSam James <sam@gentoo.org>2024-03-22 05:31:47 +0000
commitcc2f57ca131be1254f8b0f4b8264d6a60b6d3eef (patch)
tree2537984e405a52ceba471f6d79afb601224cf098 /sci-libs/libmuscle
parentnet-libs/gnutls: drop 3.8.1-r1, 3.8.2 (diff)
downloadgentoo-cc2f57ca131be1254f8b0f4b8264d6a60b6d3eef.tar.gz
gentoo-cc2f57ca131be1254f8b0f4b8264d6a60b6d3eef.tar.bz2
gentoo-cc2f57ca131be1254f8b0f4b8264d6a60b6d3eef.zip
sci-libs/libmuscle: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/862897 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/libmuscle')
-rw-r--r--sci-libs/libmuscle/libmuscle-3.7-r3.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/sci-libs/libmuscle/libmuscle-3.7-r3.ebuild b/sci-libs/libmuscle/libmuscle-3.7-r3.ebuild
index 5711d8d45991..48a90538c3ea 100644
--- a/sci-libs/libmuscle/libmuscle-3.7-r3.ebuild
+++ b/sci-libs/libmuscle/libmuscle-3.7-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit autotools
+inherit autotools flag-o-matic
DESCRIPTION="Library for sci-biology/mauve"
HOMEPAGE="http://gel.ahabs.wisc.edu/mauve/"
@@ -29,6 +29,14 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/862897
+ # Upstream website doesn't load. Nowhere to report bugs to.
+ #
+ # Do not trust with LTO either.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
econf $(use_enable static-libs static)
}