diff options
| author | Fredrik Ehnbom | 2014-02-26 14:10:09 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-02-26 13:23:25 +0000 |
| commit | 6c05a4867652f265da548a8b80d5a000c172fed5 (patch) | |
| tree | 667e6331e56f354a144b3a588065f8b824908197 /Library | |
| parent | f042062549ce243ac13e348826c66290f197ecc6 (diff) | |
| download | homebrew-6c05a4867652f265da548a8b80d5a000c172fed5.tar.bz2 | |
fftw: enable universal option
Closes #27027.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/fftw.rb | 3 |
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) |
