From: Michał Górny Date: Wed, 13 May 2020 08:18:09 +0000 (+0200) Subject: sci-libs/fftw: Workaround missing -mavx2 with avx2 flag X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2424a31e9abdafb42ce3f7da50457677d6209eb1;p=gentoo.git sci-libs/fftw: Workaround missing -mavx2 with avx2 flag Bug: https://bugs.gentoo.org/698572 Signed-off-by: Michał Górny --- 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 }