sci-libs/mumps: mark as LTO-unsafe, strict-aliasing unsafe

I would like to report this upstream. However, the only contact method
is their mailing list. And their mailing list may or may not work -- I
find it hard to tell because I've never seen the interface before, but
it is mostly in French and the bit that I recognized doesn't seem to
have working links to e.g. the archive.

Closes: https://bugs.gentoo.org/862903
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-03-20 23:05:50 -04:00
committed by Sam James
parent c19c464def
commit 3b05cbc43c

View File

@@ -63,6 +63,16 @@ static_to_shared() {
}
src_prepare() {
# -Werror=strict-aliasing
# https://bugs.gentoo.org/862903
#
# There is an upstream mailing list but it seems to be broken. I *think*,
# because it's all in French. I tried and failed to report the bug.
#
# Do not trust with LTO either.
append-flags -fno-strict-aliasing
filter-lto
# workaround for gcc10 (bug #743442)
append-fflags $(test-flags-FC -fallow-argument-mismatch)