diff options
author | Sam James <sam@gentoo.org> | 2024-03-15 06:48:57 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-15 06:48:57 +0000 |
commit | 2fda7f272d397dd858a922c8f0a061c9f486854e (patch) | |
tree | daf443eb58f41b9a5b2803ea2ca144df92e0d40f /dev-lang | |
parent | sci-geosciences/grass: mark as LTO-unsafe, strict-aliasing unsafe (diff) | |
download | gentoo-2fda7f272d397dd858a922c8f0a061c9f486854e.tar.gz gentoo-2fda7f272d397dd858a922c8f0a061c9f486854e.tar.bz2 gentoo-2fda7f272d397dd858a922c8f0a061c9f486854e.zip |
dev-lang/cfortran: filter LTO, no-SA
The upstream situation here is kind of weird, it's a mix of Debian/GH. No
activity in a few years and we already apply a bunch of other workarounds
so shoving no LTO + no-SA in too.
Closes: https://bugs.gentoo.org/866560
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/cfortran/cfortran-20210827.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-lang/cfortran/cfortran-20210827.ebuild b/dev-lang/cfortran/cfortran-20210827.ebuild index 59c7cf784e70..14f0115b8030 100644 --- a/dev-lang/cfortran/cfortran-20210827.ebuild +++ b/dev-lang/cfortran/cfortran-20210827.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -40,8 +40,11 @@ src_prepare() { } src_configure() { - use sparc && append-fflags $(test-flags-FC -fno-store-merging -fno-tree-slp-vectorize) # bug 818400 - append-cflags $(test-flags-CC -fcommon) # bug 899452 + use sparc && append-fflags $(test-flags-FC -fno-store-merging -fno-tree-slp-vectorize) # bug #818400 + # bug #866560 + filter-lto + append-flags -fno-strict-aliasing + append-cflags $(test-flags-CC -fcommon) # bug #899452 default } |