diff options
-rw-r--r-- | sci-libs/mumps/mumps-5.3.5-r1.ebuild | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sci-libs/mumps/mumps-5.3.5-r1.ebuild b/sci-libs/mumps/mumps-5.3.5-r1.ebuild index 705a251a15d6..8df93f5e4e8c 100644 --- a/sci-libs/mumps/mumps-5.3.5-r1.ebuild +++ b/sci-libs/mumps/mumps-5.3.5-r1.ebuild @@ -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) |