commit:     69b81c0d77f531ac2e867bac731f55d1b79dbca7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 12 00:30:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 12 00:30:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69b81c0d

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 <AT> gentoo.org>

 sci-visualization/xd3d/xd3d-8.3.1-r2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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)

Reply via email to