diff options
| author | Adam Vandenberg | 2011-04-13 12:30:02 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-13 12:30:02 -0700 |
| commit | ec0b15df0e6a81ddb69ed205f473fba11c59f27f (patch) | |
| tree | d750abf636a9a22b16b05f0d7bb9c0fb2db40a7b /Library | |
| parent | 6005d3b5f730a509ef955398db1bf2ab2d094d17 (diff) | |
| download | homebrew-ec0b15df0e6a81ddb69ed205f473fba11c59f27f.tar.bz2 | |
libvpx: fix 32-bit issues
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libvpx.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/libvpx.rb b/Library/Formula/libvpx.rb index a184c0b4e..e9046804d 100644 --- a/Library/Formula/libvpx.rb +++ b/Library/Formula/libvpx.rb @@ -8,7 +8,11 @@ class Libvpx < Formula depends_on 'yasm' => :build def install - system "./configure", "--prefix=#{prefix}" + args = "--prefix=#{prefix}" + # Configure detects 32-bit CPUs incorrectly. + args << "--target=generic-gnu" unless MacOS.prefer_64_bit? + + system "./configure", *args system "make install" end end |
