pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/fftw fftw: fix gcc version matching for earlier v...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/43f320363351
branches:  trunk
changeset: 452756:43f320363351
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat May 15 10:12:31 2021 +0000

description:
fftw: fix gcc version matching for earlier versions

diffstat:

 math/fftw/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f9b674a8e5b5 -r 43f320363351 math/fftw/Makefile
--- a/math/fftw/Makefile        Sat May 15 10:09:06 2021 +0000
+++ b/math/fftw/Makefile        Sat May 15 10:12:31 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2021/05/07 12:31:22 thor Exp $
+# $NetBSD: Makefile,v 1.69 2021/05/15 10:12:31 nia Exp $
 
 DISTNAME=      fftw-3.3.9
 PKGREVISION=   5
@@ -62,7 +62,7 @@
 FFTW_FLOAT_OPTS+=      --enable-sse --enable-sse2 --enable-avx
 FFTW_DOUBLE_OPTS+=     --enable-sse2 --enable-avx
 # From gcc-4.9 on, these should work trouble-free.
-.  if empty(CC_VERSION:Mgcc-4.8.*)
+.  if empty(CC_VERSION:Mgcc-4.*) || !empty(CC_VERSION:Mgcc-4.9.*)
 FFTW_FLOAT_OPTS+=      --enable-avx2 --enable-avx512 --enable-avx-128-fma
 FFTW_DOUBLE_OPTS+=     --enable-avx2 --enable-avx512 --enable-avx-128-fma
 .  endif



Home | Main Index | Thread Index | Old Index