commit:     fd4e1e62450727e3b4ef689255b599b599ac832d
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  2 20:04:48 2026 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Jan  2 20:32:45 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd4e1e62

sci-mathematics/pari: mark as LTO-unsafe

build system already passes -fno-strict-aliasing

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 sci-mathematics/pari/pari-2.15.5.ebuild | 5 ++++-
 sci-mathematics/pari/pari-2.17.1.ebuild | 5 ++++-
 sci-mathematics/pari/pari-2.17.2.ebuild | 5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/sci-mathematics/pari/pari-2.15.5.ebuild 
b/sci-mathematics/pari/pari-2.15.5.ebuild
index 9cf01efc5825..0a0bb6f0e274 100644
--- a/sci-mathematics/pari/pari-2.15.5.ebuild
+++ b/sci-mathematics/pari/pari-2.15.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -55,6 +55,9 @@ src_prepare() {
 src_configure() {
        tc-export CC CXX PKG_CONFIG
 
+       # not strict-aliasing safe
+       filter-lto
+
        # Workaraound to "asm operand has impossible constraints" as
        # suggested in bug #499996.
        use x86 && append-cflags $(test-flags-CC -fno-stack-check)

diff --git a/sci-mathematics/pari/pari-2.17.1.ebuild 
b/sci-mathematics/pari/pari-2.17.1.ebuild
index 8a91812612b2..ca6eb75ced20 100644
--- a/sci-mathematics/pari/pari-2.17.1.ebuild
+++ b/sci-mathematics/pari/pari-2.17.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -57,6 +57,9 @@ src_prepare() {
 src_configure() {
        tc-export CC CXX PKG_CONFIG
 
+       # not strict-aliasing safe
+       filter-lto
+
        # Workaraound to "asm operand has impossible constraints" as
        # suggested in bug #499996.
        use x86 && append-cflags $(test-flags-CC -fno-stack-check)

diff --git a/sci-mathematics/pari/pari-2.17.2.ebuild 
b/sci-mathematics/pari/pari-2.17.2.ebuild
index 0fe1dabe11d2..c86f6d211a60 100644
--- a/sci-mathematics/pari/pari-2.17.2.ebuild
+++ b/sci-mathematics/pari/pari-2.17.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -55,6 +55,9 @@ src_prepare() {
 src_configure() {
        tc-export CC CXX PKG_CONFIG
 
+       # not strict-aliasing safe
+       filter-lto
+
        # Workaraound to "asm operand has impossible constraints" as
        # suggested in bug #499996.
        use x86 && append-cflags $(test-flags-CC -fno-stack-check)

Reply via email to