summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-22 08:41:28 +0000
committerSam James <sam@gentoo.org>2024-03-22 08:43:29 +0000
commit30d13e67ffe6760317622fec3bf2379565546e71 (patch)
tree1b2ac9999a374bc58de84255071e0e50f66797a0 /sci-libs/cdf
parentsci-biology/mothur: add 1.48.0 (diff)
downloadgentoo-30d13e67ffe6760317622fec3bf2379565546e71.tar.gz
gentoo-30d13e67ffe6760317622fec3bf2379565546e71.tar.bz2
gentoo-30d13e67ffe6760317622fec3bf2379565546e71.zip
sci-libs/cdf: backport LTO filter to stable
Closes: https://bugs.gentoo.org/927487 Bug: https://bugs.gentoo.org/862675 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/cdf')
-rw-r--r--sci-libs/cdf/cdf-3.8.0-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sci-libs/cdf/cdf-3.8.0-r1.ebuild b/sci-libs/cdf/cdf-3.8.0-r1.ebuild
index 7d3f32ecb62b..7a705868953c 100644
--- a/sci-libs/cdf/cdf-3.8.0-r1.ebuild
+++ b/sci-libs/cdf/cdf-3.8.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit java-pkg-opt-2 multilib toolchain-funcs
+inherit flag-o-matic java-pkg-opt-2 multilib toolchain-funcs
MY_DP="${PN}$(ver_cut 1)$(ver_cut 2)"
MY_P="${MY_DP}_$(ver_cut 3)"
@@ -56,6 +56,10 @@ src_prepare() {
}
src_compile() {
+ # Reported upstream by email in 2024-03-22 (bug #862675)
+ append-flags -fno-strict-aliasing
+ filter-lto
+
PV_SO=${PV:0:1}
emake \
OS=linux \