summaryrefslogtreecommitdiff
path: root/sci-libs/alglib/alglib-3.17.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/alglib/alglib-3.17.0.ebuild')
-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)
)