From 2424a31e9abdafb42ce3f7da50457677d6209eb1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 13 May 2020 10:18:09 +0200 Subject: [PATCH] sci-libs/fftw: Workaround missing -mavx2 with avx2 flag MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/698572 Signed-off-by: Michał Górny --- sci-libs/fftw/fftw-3.3.8-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) 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 } -- 2.26.2