diff options
author | thor <thor@pkgsrc.org> | 2021-05-07 11:59:41 +0000 |
---|---|---|
committer | thor <thor@pkgsrc.org> | 2021-05-07 11:59:41 +0000 |
commit | 6feca6a9c642629c9bc0198cc493f861c634fff8 (patch) | |
tree | 8fcf6f9313f3556dace4714608ab4c4c7acefbf5 /math | |
parent | 0bc1e3c8c0c0c9ee6898c95cdd14e47fa763db67 (diff) | |
download | pkgsrc-6feca6a9c642629c9bc0198cc493f861c634fff8.tar.gz |
math/fftw: fix GCC > 4.8 version check
Diffstat (limited to 'math')
-rw-r--r-- | math/fftw/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/fftw/Makefile b/math/fftw/Makefile index 0ecaceb8fa8..7731518a1e5 100644 --- a/math/fftw/Makefile +++ b/math/fftw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.66 2021/04/30 23:31:08 thor Exp $ +# $NetBSD: Makefile,v 1.67 2021/05/07 11:59:41 thor Exp $ PKGREVISION= 5 @@ -64,7 +64,7 @@ FFTW_DOUBLE_OPTS= --enable-generic-simd128 --enable-generic-simd256 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.8.*) FFTW_FLOAT_OPTS+= --enable-avx2 --enable-avx512 --enable-avx-128-fma FFTW_DOUBLE_OPTS+= --enable-avx2 --enable-avx512 --enable-avx-128-fma .endif |