diff options
| author | arlolra | 2011-03-06 16:27:21 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-06 17:32:28 -0800 |
| commit | 60e0d73be7c0dc69bb2140952b3f79243c82eda1 (patch) | |
| tree | e63e87991db0ebdf664db1cd3a9ec10619718256 /Library | |
| parent | d75a4c49ca3c35c0034d1092ed49f7f40981f85d (diff) | |
| download | homebrew-60e0d73be7c0dc69bb2140952b3f79243c82eda1.tar.bz2 | |
Specify architecture for hiredis
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/hiredis.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/hiredis.rb b/Library/Formula/hiredis.rb index ca094bb67..1c467b7f9 100644 --- a/Library/Formula/hiredis.rb +++ b/Library/Formula/hiredis.rb @@ -8,7 +8,9 @@ class Hiredis <Formula sha1 '2a258b2bc56958144307df13a5ecf6692c637ee3' def install - fails_with_llvm "Can't figure out architecture type", :build => 2333 + # Architecture isn't detected correctly on 32bit Snow Leopard without help + ENV["OBJARCH"] = snow_leopard_64? ? "-arch x86_64" : "-arch i386" + system "make PREFIX=#{prefix}" system "make install PREFIX=#{prefix}" end |
