commit:     514434e35d7edf285306970e545a270ca9ad389c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 12 06:11:40 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 12 06:11:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514434e3

sci-libs/cgcode: filter LTO, no-SA

Only ever had one release. LTO type mismatches and we already apply a nasty
Fortran workaround for GCC 10.

Closes: https://bugs.gentoo.org/862681
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/cgcode/cgcode-1.0-r2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-libs/cgcode/cgcode-1.0-r2.ebuild 
b/sci-libs/cgcode/cgcode-1.0-r2.ebuild
index 6945d82b5a92..4caf7d901289 100644
--- a/sci-libs/cgcode/cgcode-1.0-r2.ebuild
+++ b/sci-libs/cgcode/cgcode-1.0-r2.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
@@ -25,6 +25,10 @@ PATCHES=(
 src_prepare() {
        default
 
+       # bug #862681
+       append-flags -fno-strict-aliasing
+       filter-lto
+
        # GCC 10 workaround
        # bug #722000
        append-fflags $(test-flags-FC -fallow-argument-mismatch)

Reply via email to