commit:     f73445d6f63e570d115d495d4acecf835949b235
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 12 08:03:19 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Sep 12 08:07:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f73445d6

sci-libs/alglib: Fix tests on x86

Closes: https://bugs.gentoo.org/665504
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sci-libs/alglib/alglib-3.10.0-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-libs/alglib/alglib-3.10.0-r1.ebuild 
b/sci-libs/alglib/alglib-3.10.0-r1.ebuild
index 13290e16e87..09143c32630 100644
--- a/sci-libs/alglib/alglib-3.10.0-r1.ebuild
+++ b/sci-libs/alglib/alglib-3.10.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit cmake-utils
+inherit cmake-utils flag-o-matic
 
 DESCRIPTION="Numerical analysis and data processing library"
 HOMEPAGE="http://www.alglib.net/";
@@ -20,6 +20,7 @@ PATCHES=( "${FILESDIR}/${P}-disable-minlm-test.patch" )
 
 src_prepare() {
        cp "${FILESDIR}"/CMakeLists.txt-3.8.2 CMakeLists.txt || die
+       use x86 && append-cppflags -ffloat-store
        cmake-utils_src_prepare
 }
 

Reply via email to