sci-libs/alglib: Fix tests on x86
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 12 Sep 2018 08:03:19 +0000 (10:03 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 12 Sep 2018 08:07:11 +0000 (10:07 +0200)
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

index 13290e16e875fce9873e7a900b5b7b26833e64ee..09143c32630215fd54c27dbc56e34b32312bb7ae 100644 (file)
@@ -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
 }