summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-05-15 11:20:52 +0000
committernia <nia@pkgsrc.org>2021-05-15 11:20:52 +0000
commit8502415e6abb04e12d7f72c0343021e73833eac6 (patch)
tree93f8df55ccd233839396f07eca8b78b9c5f72c86 /math
parentc36a560062d2adabfff582d435c2d18bf889fd1d (diff)
downloadpkgsrc-8502415e6abb04e12d7f72c0343021e73833eac6.tar.gz
fftw: avx usage is also gcc-specific in this package...
Diffstat (limited to 'math')
-rw-r--r--math/fftw/options.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/math/fftw/options.mk b/math/fftw/options.mk
index 2ce67946877..47f00a277dc 100644
--- a/math/fftw/options.mk
+++ b/math/fftw/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2021/05/15 11:18:58 nia Exp $
+# $NetBSD: options.mk,v 1.8 2021/05/15 11:20:52 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fftw
# fftw (double) and fftwf (single) are always built, you can add
@@ -9,11 +9,10 @@ PKG_SUPPORTED_OPTIONS= fftw-fortran openmp mpi fftw-long fftw-quad
.if !empty(PKGSRC_COMPILER:M*gcc*) || !empty(PKGSRC_COMPILER:M*clang*)
PKG_SUPPORTED_OPTIONS+= simd
-PKG_SUGGESTED_OPTIONS+= simd
-.endif
-
-.if ${MACHINE_ARCH} == "x86_64"
+. if ${MACHINE_ARCH} == "x86_64"
PKG_SUPPORTED_OPTIONS+= avx
+. endif
+PKG_SUGGESTED_OPTIONS+= simd
.endif
.include "../../mk/bsd.options.mk"