Specify architecture for redis

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
arlolra 2011-03-06 16:27:21 -08:00 committed by Adam Vandenberg
parent d436955397
commit b3265d4440

View file

@ -10,6 +10,8 @@ class Redis <Formula
def install
fails_with_llvm "Breaks with LLVM"
ENV["OBJARCH"] = snow_leopard_64? ? "-arch x86_64" : "-arch i386"
# Head and stable have different code layouts
src = File.exists?('src/Makefile') ? 'src' : '.'
system "make -C #{src}"