summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-12 00:30:20 +0000
committerSam James <sam@gentoo.org>2024-03-12 00:30:49 +0000
commit69b81c0d77f531ac2e867bac731f55d1b79dbca7 (patch)
treeec919c5618421af681df8c4d6be270827234ba7d /sci-visualization
parentapp-shells/bash: mark as LTO-unsafe in particularly old versions (diff)
downloadgentoo-69b81c0d77f531ac2e867bac731f55d1b79dbca7.tar.gz
gentoo-69b81c0d77f531ac2e867bac731f55d1b79dbca7.tar.bz2
gentoo-69b81c0d77f531ac2e867bac731f55d1b79dbca7.zip
sci-visualization/xd3d: filter LTO, no-SA
Old codebase with no upstream releases since 2007. Already has a scary Fortran workaround for GCC 10 too. Closes: https://bugs.gentoo.org/863368 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/xd3d/xd3d-8.3.1-r2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sci-visualization/xd3d/xd3d-8.3.1-r2.ebuild b/sci-visualization/xd3d/xd3d-8.3.1-r2.ebuild
index d6fdeab91c00..bd416d2b14ed 100644
--- a/sci-visualization/xd3d/xd3d-8.3.1-r2.ebuild
+++ b/sci-visualization/xd3d/xd3d-8.3.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -38,6 +38,10 @@ src_configure() {
export MY_AR="$(tc-getAR)"
export MY_RANLIB="$(tc-getRANLIB)"
+ # bug #863368
+ append-flags -fno-strict-aliasing
+ filter-lto
+
# GCC 10 workaround
# bug #722426
append-fflags $(test-flags-FC -fallow-argument-mismatch)