commit:     79ac592d7b55261231704209d417b5969f273fdb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  5 06:46:48 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  5 06:46:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79ac592d

sci-libs/alglib: filter LTO, no-SA

The package in Gentoo is quite out of date so I can't easily test the latest
version to report upstream. Has SA violations.

Closes: https://bugs.gentoo.org/862666
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/alglib/alglib-3.17.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sci-libs/alglib/alglib-3.17.0.ebuild 
b/sci-libs/alglib/alglib-3.17.0.ebuild
index 1b837edafa87..cc63c323ff47 100644
--- a/sci-libs/alglib/alglib-3.17.0.ebuild
+++ b/sci-libs/alglib/alglib-3.17.0.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=7
@@ -22,7 +22,12 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #862666
+       append-flags -fno-strict-aliasing
+       filter-lto
+
        use x86 && append-cflags -ffloat-store
+
        local mycmakeargs=(
                -DBUILD_TEST=$(usex test)
        )

Reply via email to