Specify architecture for redis
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
d436955397
commit
b3265d4440
1 changed files with 2 additions and 0 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue