summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-12 06:11:40 +0000
committerSam James <sam@gentoo.org>2024-03-12 06:11:40 +0000
commit514434e35d7edf285306970e545a270ca9ad389c (patch)
tree05cd858bff6a6124f00d3bf1b78382ebcb3f5407 /sci-libs
parentmedia-libs/libiec61883: filter LTO, no-SA (diff)
downloadgentoo-514434e35d7edf285306970e545a270ca9ad389c.tar.gz
gentoo-514434e35d7edf285306970e545a270ca9ad389c.tar.bz2
gentoo-514434e35d7edf285306970e545a270ca9ad389c.zip
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@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/cgcode/cgcode-1.0-r2.ebuild6
1 files changed, 5 insertions, 1 deletions
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)