aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fftw.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/fftw.rb b/Library/Formula/fftw.rb
index adb547235..af59ed93f 100644
--- a/Library/Formula/fftw.rb
+++ b/Library/Formula/fftw.rb
@@ -13,6 +13,7 @@ class Fftw < Formula
end
option "with-fortran", "Enable Fortran bindings"
+ option :universal
depends_on :fortran => :optional
@@ -27,6 +28,8 @@ class Fftw < Formula
args << "--disable-fortran" unless build.with? "fortran"
+ ENV.universal_binary if build.universal?
+
# single precision
# enable-sse2 and enable-avx works for both single and double precision
system "./configure", "--enable-single", *(args + simd_args)