summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-13 10:18:09 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-13 11:02:57 +0200
commit2424a31e9abdafb42ce3f7da50457677d6209eb1 (patch)
tree85d7113b9cae2d3ac462229f56cd64b9ce72f985 /sci-libs/fftw
parentdev-python/tzlocal: Bump to 2.1 (diff)
downloadgentoo-2424a31e9abdafb42ce3f7da50457677d6209eb1.tar.gz
gentoo-2424a31e9abdafb42ce3f7da50457677d6209eb1.tar.bz2
gentoo-2424a31e9abdafb42ce3f7da50457677d6209eb1.zip
sci-libs/fftw: Workaround missing -mavx2 with avx2 flag
Bug: https://bugs.gentoo.org/698572 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-libs/fftw')
-rw-r--r--sci-libs/fftw/fftw-3.3.8-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sci-libs/fftw/fftw-3.3.8-r1.ebuild b/sci-libs/fftw/fftw-3.3.8-r1.ebuild
index 9266b28d174d..f8105f1e1b41 100644
--- a/sci-libs/fftw/fftw-3.3.8-r1.ebuild
+++ b/sci-libs/fftw/fftw-3.3.8-r1.ebuild
@@ -136,6 +136,10 @@ multilib_src_configure() {
}
src_configure() {
+ # upstream does not append proper -m flags
+ # https://bugs.gentoo.org/698572
+ use cpu_flags_x86_avx2 && append-flags -mavx2
+
multibuild_foreach_variant multilib-minimal_src_configure
}