summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-05 06:46:48 +0000
committerSam James <sam@gentoo.org>2024-03-05 06:46:48 +0000
commit79ac592d7b55261231704209d417b5969f273fdb (patch)
treed8c58c92255aefcc4f8855cd1104b7e5fdfd45d4 /sci-libs
parentprofiles/features/musl: mask games-strategy/seven-kingdoms (diff)
downloadgentoo-79ac592d7b55261231704209d417b5969f273fdb.tar.gz
gentoo-79ac592d7b55261231704209d417b5969f273fdb.tar.bz2
gentoo-79ac592d7b55261231704209d417b5969f273fdb.zip
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@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/alglib/alglib-3.17.0.ebuild7
1 files changed, 6 insertions, 1 deletions
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)
)