From 6c05a4867652f265da548a8b80d5a000c172fed5 Mon Sep 17 00:00:00 2001 From: Fredrik Ehnbom Date: Wed, 26 Feb 2014 14:10:09 +0100 Subject: fftw: enable universal option Closes #27027. Signed-off-by: Mike McQuaid --- Library/Formula/fftw.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library') 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) -- cgit v1.2.3