1 |
commit: f73445d6f63e570d115d495d4acecf835949b235 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 12 08:03:19 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 12 08:07:11 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f73445d6 |
7 |
|
8 |
sci-libs/alglib: Fix tests on x86 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/665504 |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
12 |
|
13 |
sci-libs/alglib/alglib-3.10.0-r1.ebuild | 3 ++- |
14 |
1 file changed, 2 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/sci-libs/alglib/alglib-3.10.0-r1.ebuild b/sci-libs/alglib/alglib-3.10.0-r1.ebuild |
17 |
index 13290e16e87..09143c32630 100644 |
18 |
--- a/sci-libs/alglib/alglib-3.10.0-r1.ebuild |
19 |
+++ b/sci-libs/alglib/alglib-3.10.0-r1.ebuild |
20 |
@@ -3,7 +3,7 @@ |
21 |
|
22 |
EAPI=6 |
23 |
|
24 |
-inherit cmake-utils |
25 |
+inherit cmake-utils flag-o-matic |
26 |
|
27 |
DESCRIPTION="Numerical analysis and data processing library" |
28 |
HOMEPAGE="http://www.alglib.net/" |
29 |
@@ -20,6 +20,7 @@ PATCHES=( "${FILESDIR}/${P}-disable-minlm-test.patch" ) |
30 |
|
31 |
src_prepare() { |
32 |
cp "${FILESDIR}"/CMakeLists.txt-3.8.2 CMakeLists.txt || die |
33 |
+ use x86 && append-cppflags -ffloat-store |
34 |
cmake-utils_src_prepare |
35 |
} |